Skip to main content
100%

Bar Chart

✓ Published1🌍 Public
Aazrinsani
Last edited Feb 17, 2020
Created on Feb 16, 2020
Forked from HTML Starter

This example presents a bar chart of country populations using D3.js v5 with SVG rendering. It displays population values for eight countries, using a vertical bar layout with axes and gridlines. The chart supports zoom and pan interactions through D3's zoom utility, which rescales both the x and y axes. The code reads population data from a CSV file, formats the y-axis labels from billions to a readable format, and applies a steel blue fill to the bars via CSS.

AI-generated description

A bare minimum HTML page.

See also React Starter.

MIT Licensed

Similar vizzes