Skip to main content
100%

Make a bar chart

✓ Published0🌍 Public
PPulkit Rohilla
Last edited Sep 26, 2019
Created on Sep 26, 2019
Forked from Make a bar chart

A horizontal bar chart displays the population of five countries, using steel-blue rectangles to encode values from a CSV file. The visualization uses D3 v5’s `scaleLinear` for the x-axis, `scaleBand` for the categorical y-axis, and `axisLeft` and `axisBottom` to render ticks. Data is loaded via `csv`, with population numbers converted from thousands, and the SVG is appended to a 960x500 viewport.

AI-generated description

An example showing the capabilities of VizHub.

MIT Licensed

Similar vizzes