Skip to main content
Public

Share visualization

Loading preview…

Interactive Color Legends with informative Tooltips and dropdown menu

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

Interactive Color Legends with informative Tooltips and dropdown menu

3
Aaishwarya8615
Last edited Oct 23, 2019
Created on Oct 23, 2019
Forked from Log Scale Example

This interactive scatterplot visualizes life expectancy data, allowing users to explore correlations between variables such as HIV/AIDS, GDP, BMI, and adult mortality. A dropdown menu selects the X and Y axes, while a color legend differentiates data points by continent. Clicking a legend entry highlights that continent, and hovering over a data point reveals a tooltip with the country, year, and axis values. Built with d3.v5, it uses SVG and animated transitions, loading data from a CSV file.

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