🌍 Public
Viewing a saved revision (read-only)
f00ce0a9633c4852b5889533e7e46b97
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.