{
  "id": 21137816,
  "title": "Is This Height Comparison Up to Scale? How to Draw One Correctly in JavaScript and SVG",
  "url": "https://urgent.news/2026/11/21/is-this-height-comparison-up-to-scale-how-to-draw-one-correctly-in",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-21T23:40:45.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/charlotte_nelson_9aadde70/is-this-height-comparison-up-to-scale-how-to-draw-one-correctly-in-javascript-and-svg-21m"
  },
  "original_language": "en",
  "account": "To create a height comparison chart that accurately represents the visual difference between two heights, there are two fundamental rules to follow. First, every figure's feet should be positioned on the same horizontal line, which is known as having a single ground line. If figures are vertically centered as in the second example, the visible height difference will be halved, with only half the difference being visible above the ground line. For a comparison between a 4'10\" individual and a 5'7\" individual, the 11.4 cm difference becomes more noticeable as 22.9 cm when using a chart with a single ground line.\n\nSecond, the scale used to represent heights should be consistent and start at zero, meaning that pixels per centimeter should remain a single value throughout the entire chart. The zero point on the scale must align with the ground line, ensuring that the shorter person's height is not stretched or compressed compared to the taller one. When the scale starts at an arbitrary point or varies along the axis, as seen in the first chart example, the visual representation becomes distorted. This can lead to exaggerated or minimized differences based on the arbitrary starting point, undermining the chart's integrity.\n\nA common mistake in height comparisons is incorrectly scaling the heights, which inadvertently introduces biases. For instance, if the axis starts at 140 cm instead of zero, the shorter subject's height is shown as being significantly smaller than it truly is, skewing the perceived difference between the two heights. This type of truncation is akin to a bar chart that does not begin at zero, leading to misleading visual comparisons. Thus, adhering to these two principles—having a shared ground line and maintaining a uniform scale starting from zero—is essential for presenting height differences in a truthful and intuitive manner.",
  "summary": "\"I've always wondered what a height different between a 4'10 person and a 5'7 person would look like … I found this image but idk if it's up to scale or not.\" That question, posted to r/heightcomparison, is the whole genre in one sentence. People want to see a height gap, they find a picture, and then they have no way to tell whether the picture is honest. If you are building the tool that makes…",
  "key_points": [
    "Figures' feet should be on the same horizontal line (single ground line)",
    "Scale must start at zero, consistent pixels per centimeter throughout",
    "Incorrect scaling introduces bias, distorts visual representation"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}