Skip to main content
Public

Share visualization

Loading preview…

Data Visualization Assignment 3

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Data Visualization Assignment 3

0
HHowardHan99
Last edited Oct 18, 2021
Created on Oct 18, 2021

This interactive scatter plot explores correlations among life expectancy indicators including HIV/AIDS, GDP, BMI, and adult mortality, with dropdown menus controlling the X and Y axes. A color legend by continent filters data on click, while hover tooltips display the continent, year, and current axis values. The visualization uses d3.v5 with scaleLog axes, d3.scaleOrdinal for coloring, and animated circle transitions via d3.transition. Data comes from a CSV of global life expectancy statistics, rendered as SVG with reusable d3 modules for the scatter plot, dropdown menu, and color legend.

AI-generated description

An interactive color legend scatter plot with Dropdown Menu for Life Expectancy Data with informative Tooltips.

This scatterplot takes required inputs from the data(like HIV/AIDS, GDP, BMI,Adult Mortality, Year, Life Expectancy and Continent) and uses these as inputs to both X and Y axes with the help of a dropdown. This scatter plot would help in finding the correlation between these various inputs using Continent as the color legend. Clicking on th color legend would display the data relevant to that continent. Hovering over the data would display all necessary information to summarize the visualized data in the form of Continent,Year, and the X and Y Axes values.

Comments

Sign in to join the discussion.

MIT Licensed