Skip to main content
100%

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

✓ Published1🌍 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
MIT Licensed

Similar vizzes