Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 6 -- Scatter plot with a qualitative color scale

Public visualization

Assignment 6 -- Scatter plot with a qualitative color scale

0 stars0🌍 Public
Vvishusikka
Last edited Mar 18, 2022
Created on Mar 8, 2022
Forked from Scatter plot

This scatter plot shows the relationship between average horsepower and average torque for various car makes, with each point colored by the manufacturer using a qualitative color scale. The visualization uses D3.js v4 to render an SVG chart, employing `d3.scaleLinear` for both axes and `d3.scaleOrdinal` with `d3.schemeCategory10` for the categorical colors. Tooltips display the make and exact values on hover, while a legend identifies the color mapping. The data is loaded from an external CSV file (`stripechart1.csv`) containing average engine statistics.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed