<!DOCTYPE html>
<style>
body { margin: 0 }
</style>
<!-- translate -->
<svg width="200" height="200">
<rect x="25" y="50" width="150" height="100" fill="green" />
</svg>
<!-- scale -->
<svg width="200" height="200">
<rect x="0" y="0" width="75" height="50" fill="green" />
</svg>