Skip to main content
100%

Bar chart

✓ Published2🌍 Public
EElora-dev
Last edited Jul 23, 2020
Created on Jul 19, 2020
Forked from HTML Starter

This bar chart displays the average weight of different species, categorized by continent, revealing which regions harbor the largest animals. The visualization fetches its data from a remote JSON file via `d3.json`, then uses `d3.scaleLinear` for the x-axis and `d3.scaleBand` for the categorical y-axis. SVG rectangles are drawn for each species, with axes created using `d3.axisBottom` and `d3.axisLeft`. The chart applies a custom tick format via `d3.format` to abbreviate large numbers, and all rendering occurs in SVG.

AI-generated description
MIT Licensed

Similar vizzes