π Public
Cars Scatter Plot with horsepower and weight against cylinders
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 descriptionThis scatter plot shows data about cars,
MIT Licensed
Comments
Sign in to join the discussion.