🌍 Public
Viewing a saved revision (read-only)
9e2b2779cb274d4296a05513aa0b9773
Area Chart
This area chart visualizes the distribution of species counts from a dataset loaded via `d3.csv`. The chart aggregates the raw data using `d3.rollup` to count entries per species, then renders a single filled area using the `d3.area` generator, with scales defined by `scaleBand` and `scaleLinear`. Axis ticks are drawn with `d3.axisBottom` and `d3.axisLeft`, and each species count is labeled directly above its point on the area via `svg.append('text')`. The visualization is produced in SVG within a dedicated `<div>` container.
AI-generated descriptionAn example showing the capabilities of VizHub:
- Loads D3 via UNPKG.
- Demonstrates use of
importfrom"d3". - Demonstrates use of
importfrom local ES6 modules.