Customizing AxesTest
✓ Published2🌍 Public
This bar chart displays the population of ten countries, ordered alphabetically, with horizontal bars scaled linearly to population size. Built with D3 v7, it uses `scaleBand` for categorical y-axes and `scaleLinear` for quantitative x-axes, formatting large numbers with the `format` function. The SVG renders axes with `axisLeft` and `axisBottom`, and the data comes from a CSV file parsed via `d3.csv`.
AI-generated descriptionThe Penguins Dataset, loaded and parsed as CSV.
Fork and modify this template to import your data to VizHub and export it for use in other vizzes! To do that:
- Fork this viz
- Clear out the README
- Update the README with details about your dataset (including original source)
- Replace
data.csvwith your own data - Replace the parsing logic in
index.jswith your own - Set the custom URL so you can import from it easily
Challenge
- Find 3 datasets on a topic you are interested in
- For each of those, fork this viz and replace the data
- Parse the quantitative attributes into numbers
- Update
README.mdto indicate the original data source
MIT Licensed