Skip to main content
100%

Fork of Hello VizHub

✓ Published0🌍 Public
HHarinathChakali33@gmail.com
Last edited Apr 26, 2024
Created on Apr 26, 2024
Forked from Hello VizHub

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 description

An example showing the capabilities of VizHub:

  • Loads D3 via UNPKG.
  • Demonstrates use of import from "d3".
  • Demonstrates use of import from local ES6 modules.
MIT Licensed

Similar vizzes