Fork of Simple Bar Chart
✓ Published0🌍 Public
This example shows the distribution of products across categories in a furniture dataset, using a bar chart to compare category counts. It fetches CSV data from a remote URL, parses it with `d3.csvParse`, and aggregates counts with `d3.rollup`. The visualization renders bars with `d3.scaleBand` and `d3.scaleLinear`, styled in steelblue, and includes axes via `d3.axisBottom` and `d3.axisLeft`. The SVG is created dynamically with `d3.create` and appended to the document body.
AI-generated descriptionA bar chart showing the top 10 most populous countries on Earth as of January 1st 2024.
Challenge
- Fork this viz and modify it to show your own data
MIT Licensed