Skip to main content
100%

Making a Barchart

✓ Published6🌍 Public
KKazushige Okuma
Last edited Sep 22, 2019
Created on Sep 19, 2019
Forked from Let's make a face

A horizontal bar chart displays population figures for the ten most populous countries, with bars labeled by country name along the y-axis and a linear population scale on the x-axis. The visualization uses D3 v5 APIs including `scaleLinear`, `scaleBand`, `axisLeft`, and `axisBottom` to construct the chart. Data is loaded from a CSV file using `d3.csv`, with population values multiplied by 1000 for display. The SVG output renders steelblue rectangles with a font size of 1.5em for text labels.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes