🌍 Public
Viewing a saved revision (read-only)
154e01fc56a24f7a8aa7a5845c8217a5
scatterPlot_activity6Q6
This interactive D3.js scatterplot visualizes the relationship between alcohol consumption and life expectancy across continents. The plot uses a color legend to highlight points by continent, allowing users to hover over the legend to isolate and compare specific regions. The visualization is built with React and D3 v5, rendering data from a CSV file of life expectancy statistics as SVG circles, with axes labeled Alcohol and Life Expectancy.
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.