barchart
✓ Published0🌍 Public
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 descriptionA bare minimum HTML page demonstrating use of CSS and JavaScript.
See also React Starter.
MIT Licensed