Skip to main content
100%

barchart

✓ Published0🌍 Public
AAkshay
Last edited Jan 29, 2021
Created on Jan 29, 2021
Forked from data visulization

This example shows a horizontal bar chart comparing population counts across six countries, with country names on the y-axis and population values on the x-axis. It loads data from a CSV file using `d3.csv` and renders SVG rectangles scaled by `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the y-axis. The chart includes axes generated with `axisLeft` and `axisBottom`, and the code also fetches a JSON dataset via `d3.json` for logging.

AI-generated description

A bare minimum HTML page demonstrating use of CSS and JavaScript.

See also React Starter.

MIT Licensed

Similar vizzes