Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment 6 updated -- Scatter plot with a qualitative color scale

Public visualization

Assignment 6 updated -- Scatter plot with a qualitative color scale

0 stars1🌍 Public
Vvishusikka
Last edited May 17, 2022
Created on May 17, 2022
Forked from Hello VizHub

This scatter plot visualizes the relationship between average horsepower and torque for 46 car brands, with each brand represented as a white circle with a colored outline. A qualitative color scale using `d3.scaleOrdinal` with `d3.schemeCategory10` distinguishes manufacturers, while a legend and interactive tooltip, implemented with D3 v6 event handlers, reveal brand names and exact values on hover. The chart, rendered as SVG, loads data from `stripechart1.csv` via `d3.csv` and positions points using `d3.scaleLinear` for both axes.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed