Making a bar chart
✓ Published1🌍 Public
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.
MIT Licensed