Skip to main content
Public

Share visualization

Loading preview…

Line Graph with Menus

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

Line Graph with Menus

1
PPeter Maida
Last edited Oct 7, 2020
Created on Oct 7, 2020

A line graph displays mortality counts across multiple demographic categories, allowing users to explore relationships between variables. Interactive dropdown menus let viewers select which attributes appear on the X and Y axes, changing the visualization dynamically. Built with React and D3, the chart uses `scaleLinear` for axes, `csv` for data loading, and `ReactDropdown` for menu controls. Circles represent individual data points from a Gist dataset covering firearm, suicide, and alcohol-related deaths.

AI-generated description

A visualization constructed using React that shows the number of various types of deaths by demographics.

The data shown here comes from Gist: Deaths by Suicide, Firearms, Alcohol.

Comments

Sign in to join the discussion.

MIT Licensed