Fork of Hello VizHub
✓ Published0🌍 Public
This fork of Hello VizHub presents two D3.js charts analyzing population data from a CSV file: a bubble chart comparing populations in 1980 against 2022, and a grouped bar chart displaying population values across multiple years. The visualization uses `d3.csv` to load the data, `d3.scaleLinear` for axes and `d3.scaleSqrt` for bubble sizing, with both charts rendered as SVG elements. Axes are added via `d3.axisBottom` and `d3.axisLeft`, while the bar chart employs `d3.scaleBand` and a categorical color scale. The code also demonstrates importing from D3 and local ES6 modules, with the message displayed using `d3.select`.
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.
MIT Licensed