🌍 Public
Viewing a saved revision (read-only)
732a680404164ff5b9e94d36ae9b5ea4
Making a bar chart
This bar chart displays population estimates for the ten most populous countries, using data from the United Nations World Population Prospects 2017. The visualization employs D3 v5’s `scaleLinear` for the x-axis, `scaleBand` for the categorical y-axis, and `axisLeft`/`axisBottom` to render tick marks. Population values are multiplied by 1,000 and drawn as steel-blue SVG rectangles, with margins and a translated group element positioning the chart within the 960×500 viewport.
AI-generated descriptionThis data shows population. Data comes from United Nations World Population Prospects 2017.