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 Interactive Color Legend Scatter plot for Life Expectancy Data.
This scatterplot takes required inputs from the data(like Alcohol Consumption, Life Expectancy and Continent) and uses these as inputs to both X and Y axes with the help of an Interactive Color Legend using 'Continent' as input. This scatter plot would help in determining the relationship between Alcohol Consumption and Life Expectancy in various continents.