This page's code did not start.

Opening index.html directly from a folder blocks JavaScript modules, so nothing will happen when you choose who goes on the chart. Serve the folder over http instead:

powershell -ExecutionPolicy Bypass -File serve.ps1

Then open http://localhost:8080/.

Height Comparison — a side-by-side chart you can download

Type the heights, take the picture. Nothing is sent to draw it.

Language: English
View source
Your names, heights and the chart they make are processed in your browser. No processing upload.

A height chart is arithmetic and a drawing: there is no file to send and no service to ask — and the one file this page will take, a picture of your own to put on the ruler, is read here and goes nowhere. The man, the woman, the boy and the girl are public-domain artwork that ships with this page, and the boy and the girl are drawings of actual children rather than adults made small — which is what stops a family chart looking wrong in a way nobody can name. Every step of it happens in a few hundred lines of JavaScript in this page that you can read. There is no network feature of any kind, which matters here because what you type is a list of people and how tall each of them is.

Live check: checking…

Offline: checking…

Don't take our word for it: open DevTools, watch the Network tab, and type a name and a height. Not one request carries a character of either. Or unplug from the internet and make the chart anyway.

1 Say who you are comparing

A name, a height, and what kind of figure to draw. Every row starts at a height you can type straight over. Heights can be written however you write them — 173, 1.73 m, 5'8", 68 in — and the line underneath each box shows what was understood, or says so in red if the box is empty or the height cannot be read. Nothing is ever guessed silently.

Top to bottom here is left to right on the chart. Drag a row by the handle at its left edge to move it, or use the arrows, which do the same thing from a keyboard. Either way the chart goes back to your own order if it was sorting by height.

An SVG puts any drawing on the ruler — a logo, a floor plan, a piece of machinery. It is read in this page and goes nowhere. Only the shapes in it are kept: it arrives as one solid colour you pick per row, and anything that could reach the network — a linked image, a stylesheet, a font, a script — is left behind rather than carried into a chart you might send to somebody. A drawing made of thin lines rather than filled shapes will come out as a solid blob, which is the one case where this is the wrong tool.

A photo or a PNG goes on as itself instead, keeping its own colours, so the row's colour only names it. It is read here too, and redrawn before it goes on — which bounds how much it adds to the chart and leaves the file's metadata behind. Whatever is transparent stays transparent, so a cut-out stands on the ruler cleanly, and a photo brings its background with it, which is worth cropping off first.

Most of these arrive drawn rather than as a plain block — a door with a handle, a fridge with its freezer above it, a sofa you can see is a sofa. The drawing is fitted to the two numbers in the row, so it is the numbers that decide the shape: type your own over them and the picture follows. Three of them have no drawing, because nothing free and correctly proportioned turned up: the basketball hoop, the shipping container and the kitchen counter arrive as the rectangle every object used to be.

A few of these really are fixed: a 20 ft shipping container is 259 cm tall by definition, a basketball rim is 305, and an American interior door is 203 by 81. The rest are typical rather than standard — doors, windows and worktops vary by country and by house. Every one arrives as an ordinary row, so measure yours and type the real numbers over it.

Leave an object’s width blank for automatic width. If a typed width cannot be read, that row stays off the chart until corrected.

2 Take it

The PNG is the one to paste into a document or a chat. The SVG is the one to keep: it is the chart as instructions rather than as pixels, so it prints at any size and can be recoloured later by anything that opens vectors.

Draw the ruler The lines across the chart and the figures down both sides. Without them the picture still compares two people correctly, but it stops saying how tall either of them is.

Write the names and heights above each figure Off, the chart is silhouettes on a ruler — which is what you want if the names are going in whatever you are pasting it into.

No background at all Transparent, for dropping onto a slide that already has a colour. The ruler and the writing are drawn dark or light to suit the colour chosen above, so set that to roughly what the picture will sit on even when the background itself is off.

That is the height of the drawing area, so the finished picture is a little taller: the names sit above it. The width follows from how many figures there are and how wide each one's label is. The line under the picture says what it came out at.

How it looks

View as Markdown

How to make a height comparison chart

  1. Add everybody first, then worry about how it looks. A row is a figure, a name, a height and a colour. The name is optional — a chart of two unnamed silhouettes with their heights over them is often exactly what somebody wants — and the arrows on each row move it left or right if the order matters.
  2. Type the height however you write it. 173, 1.73 m, 5'8", 68 in and 5 ft 8 are all read correctly. The line under the box shows what was understood, in both systems, so a misread is visible before it is drawn rather than after it is printed. A bare number is centimetres on a metric chart and inches on an imperial one, and a bare number under three is metres — nobody is 1.73 cm tall.
  3. Pick the figure that matches the person. A child is about six head-heights tall and an adult seven and a half, so a child drawn as a shrunken adult looks wrong in a way that is hard to name and easy to see. The boy and the girl are drawings of actual children rather than adults made small, which is most of what makes a family chart look like a family. Every row also arrives with a height already in it, so adding somebody draws somebody — type straight over it.
  4. Put something familiar on the chart. A number is abstract and a doorway is not. Adding one object of a size everybody knows — a door, a window, a classroom whiteboard, a vending machine — is what turns a chart that states two heights into one that shows them. The menu holds twenty of them, grouped, and every one becomes an ordinary row you can type your own numbers over. Objects take a width as well as a height, so a door is 203 by 81 rather than a stripe.
  5. Or put your own drawing on it. Add your own picture takes a file from your machine and puts it on the ruler at whatever height you give it — the thing to reach for when the chart is about a product, a vehicle or a building rather than a person. An SVG is drawn in the row's own colour like every other figure; a photograph or a PNG goes on as itself. Either keeps its own proportions, and either is read here rather than sent anywhere.
  6. Set the ruler to the units your reader thinks in. Switching between centimetres and feet rewrites what is in the boxes rather than reinterpreting it, so the chart itself does not move — only the notation does. If the chart is for two audiences, the height written above each figure is in the chart's unit and the line under each box has both.
  7. Take the PNG for pasting, the SVG for printing. The PNG is a picture at the pixel height you set, which is what a chat window, a document or a slide wants. The SVG is the chart as instructions, so it prints sharp at any size and can still be recoloured afterwards by anything that opens vectors.

The longer version

How to make a height comparison chart Turn a list of heights into a side-by-side picture: how to write the heights, which figure to pick for a child, why one familiar object does more than a third person, and how to get the chart out as a PNG or an SVG.

Questions

Is anything I type sent anywhere?

No. The chart is drawn by JavaScript in this page, on your own machine, and this tool has no network feature of any kind — it never fetches anything and never sends anything. The page's Content-Security-Policy names every address it may contact, none of which belongs to this site. That is worth saying plainly here because the input is a list of people's names and how tall each of them is, which is more personal than most of what this site handles.

Can I download the chart?

Yes, as a PNG or as an SVG, with no watermark and no account. The PNG is drawn at whatever pixel height you set and is the one to paste into a document, a slide or a chat. The SVG is the chart as instructions rather than pixels: it prints sharp at any size and can be opened and recoloured later in any vector editor. Both are made from the same markup that is on screen, so neither can disagree with the preview.

How do I write the height — centimetres or feet?

Either, in any row, whichever way you normally write it. 173, 173 cm, 1.73 m, 5'8", 5 ft 8 in and 68 in are all understood, and the line under the box shows what was read in both systems. A bare number is centimetres when the chart is metric and inches when it is imperial; a bare number under three is taken as metres, because 1.73 cm is not a height anybody types.

Why do the children not look like small adults?

Because a child is not one. Body proportions change with age: a two-year-old is roughly four and a half head-heights tall, an eight-year-old six, an adult seven and a half — so the head is nearly a quarter of a small child and an eighth of a grown-up. The boy and the girl here are drawings of actual children rather than one silhouette scaled down, which is why a family chart looks like a family instead of like four adults at different sizes.

Where do the figures come from?

All four are artwork by other people, all of it in the public domain: the man by pitr, the woman by Madeleine Price Ball, the girl by OpenClipart-Vectors, and the boy by Ryan Kissinger for the NIH BioArt library. Every file ships with this page in vendor/ as it was published, so you can check them against the originals. Public domain asks for nothing, which is the point: the artwork ends up inside a picture you download, and a licence needing attribution would attach that requirement to your chart.

Can I put my own picture on the chart?

Yes — Add your own picture takes a drawing or a photograph and puts it on the ruler at whatever height you type: a logo, a floor plan, a piece of machinery, a car, or a photo of the thing itself. Its proportions are its own, so there is no width to fill in.

An SVG is drawn as one solid colour, the one that row is set to, because that is what the rest of the chart is — so a drawing made of thin outlines rather than filled shapes comes out as a blob, and this is the wrong tool for it. Only the shapes are kept: the file is rebuilt from scratch out of paths and rectangles and circles, and anything that could reach the network — a linked image, a stylesheet, a font, a script — is left behind.

A photo or a PNG goes on as itself and keeps its own colours, so the row's colour only names it. It is redrawn here before it goes on, which bounds how much it adds to the chart and leaves the file's metadata behind. Transparency is kept, so a cut-out stands on the ruler cleanly — and a photo brings its background with it, which is worth cropping off first.

Neither file goes anywhere. That matters twice over, because the chart you download is a file you might send to somebody else.

Why is there no toddler or baby?

We did not find toddler or baby artwork that met this tool’s public-domain licensing and drawing requirements. The shipped child figures are a boy and a girl, not a complete catalogue of children’s artwork. For a younger child, set either figure to the measured height or add a suitable picture of your own; the ruler carries the measurement.

How many people can I put on one chart?

Twelve. That is not a technical limit — the drawing would happily do thirty — but past a dozen the columns get narrower than the names written over them and the picture stops being readable. If you need more, turning the names off gives you back the width, or two charts will say it better than one.

Can I put an object on the chart?

Yes — and most of them arrive drawn. The menu holds twenty to start from, in four groups: doors and windows, school and office (a whiteboard, a desk, a filing cabinet, a projector screen), things around town (a vending machine, a wheelie bin, a basketball hoop, a 20 ft shipping container) and things around the house. Seventeen of them come with a picture — a door with a handle, a fridge with its freezer above it, a sofa you can see is a sofa — and the picture is fitted to the height and width in the row, so the numbers still decide the size and your own numbers typed over them still hold. The other three are plain rectangles, because no free drawing of them turned out to be both right and correctly proportioned, and a wrong drawing is worse than an honest block on a chart about scale.

Some of these sizes are genuine standards and some are typical, which the page says out loud. One familiar object does more for a chart than any number of extra people: it is what turns a comparison into a sense of scale.

Is there a figure for a dog or a cat?

No, and it is a deliberate gap rather than an oversight. Both were built — in profile, standing with the head level with the shoulder, so that the top of the drawing would be the height written beside it, which is where every breed standard measures an animal. They did not come out well enough to ship: a quadruped seen from the side standing next to four people seen from the front reads as a mistake even when the drawing is good. A rectangle at the animal's shoulder height is honest in the meantime.

Can I share the chart with a link?

Not from here, and that is deliberate. Tools that offer it do it by putting the whole list into the address, which means every name and every height ends up in whatever the link travels through — a chat server's logs, a mail scanner, somebody's browser history, a link preview fetcher. Download the picture and send that instead: it says the same thing and carries no list with it.

Is it free, and can I use the chart commercially?

It is free, there is no account and no watermark, and you can put the result in a report, a presentation, a listing or a product. The site carries advertising, which is what pays for it. Nothing about a chart you make here is owned by us, and nothing is kept.

Why is the ruler in tens and not in ones?

Because the spacing is chosen from how many lines the picture can carry rather than from a fixed number. A chart of two adults gets a line every ten centimetres; put a basketball hoop on it and the lines move to twenty-five, because ninety lines on one picture is a grey wash rather than a ruler. In feet and inches the ladder is one, three, six and twelve inches, so the lines land on whole inches instead of near them.

Can I put the chart on a dark slide?

Yes. Set the background to the colour it will sit on and the ruler and the writing switch between dark and light to suit it — worked out from the colour's luminance rather than from a guess. Then tick "no background at all" if you want the picture itself transparent: the colour you chose still decides the ink, so a transparent chart headed for a navy slide comes out legible on it.

Does it work offline?

Yes. Load the page once, then disconnect from the internet and it keeps working. That is also the simplest way to prove nothing is being uploaded: a tool that sent your list away to have a chart drawn would stop the moment you unplugged.