Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of Interactive Color Legend Scatterplot to determine Alcohol consumption Vs Life Expectancy

Public visualization

Fork of Interactive Color Legend Scatterplot to determine Alcohol consumption Vs Life Expectancy

0 stars0🌍 Public

This interactive scatterplot visualizes the relationship between alcohol consumption and life expectancy across continents using data from a CSV file. Points are colored by continent, with an interactive color legend that highlights one continent at a time while fading others. Built with React and D3 v5, the visualization uses `scaleLinear`, `scaleOrdinal`, and SVG rendering, with mouse events on the `ColorLegend` component triggering the hover filtering.

AI-generated description

An 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.

Comments

Sign in to join the discussion.

MIT Licensed