Skip to main content
Public

Share visualization

Loading preview…

Scatter Plot w/ 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

Scatter Plot w/ menus

0
Ggorfoula
Last edited Apr 30, 2020
Created on Apr 29, 2020

This scatter plot displays the relationship between horsepower and weight for cars from the auto-mpg dataset, with red semi-transparent circles on an SVG canvas. The visualization includes labeled axes with tick marks and a title, while a dropdown menu at the top offers options A, B, and C, though the menu selection does not currently alter the chart. The code uses d3.csv for data loading, d3.scaleLinear for scales, d3.axisLeft and d3.axisBottom for axes, and a custom dropdownMenu module that creates select elements with d3 selections.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed