Skip to main content
Public

Share visualization

Loading preview…

Cars Scatter Plot with horsepower and weight against cylinders

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

Cars Scatter Plot with horsepower and weight against cylinders

5
Ssrrajendran
Last edited Nov 7, 2018
Created on Oct 3, 2018
Forked from Cars Scatter Plot

This scatter plot visualizes the relationship between horsepower and weight for various car models, with each point colored by the number of cylinders using a viridis color scale. A legend allows users to click on cylinder values to filter the displayed data, dimming non-matching points. The visualization uses D3 v5 with SVG rendering, employing `d3.scaleOrdinal` for color mapping, `d3.scaleLinear` for axes, and custom modules for the scatter plot, color legend, and dropdown menu. Data is loaded from a local CSV file.

AI-generated description

This scatter plot shows data about cars,

Comments

Sign in to join the discussion.

MIT Licensed