Skip to main content
100%

Fork of Hello VizHub

✓ Published1🌍 Public
LLouisa Penrice
Last edited Apr 30, 2024
Created on Apr 30, 2024
Forked from Hello VizHub

This example visualizes the relationship between life expectancy and the number of physicians per thousand people across countries, with point size reflecting CO2 emissions. It loads CSV data from a GitHub repository and renders an SVG scatterplot using D3 v6’s `d3.csv`, `d3.scaleLinear`, and `d3.axisBottom`/`d3.axisLeft` APIs. Circles are appended via `selectAll` and `join`, with mouse events logging data to the console. The chart demonstrates importing D3 via UNPKG and local module usage in VizHub.

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