Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

ScatterPlot-Spotify

Public visualization

ScatterPlot-Spotify

0 stars1🌍 Public
Cchandanamahesh0215@gmail.com
Last edited Oct 27, 2025
Created on Oct 27, 2025
Forked from HTML Starter

This reusable D3 scatter plot displays the relationship between horsepower and miles per gallon for cars from the Vega datasets CSV file. Each circle represents a vehicle, with hover tooltips revealing the car name and exact values. The visualization uses `d3.csv` for data parsing, `d3.scaleLinear` and `d3.axisBottom`/`d3.axisLeft` for axes, and a slider control that dynamically updates the circle radius via the chart factory's getter/setter methods.

AI-generated description

Comments

Sign in to join the discussion.

MIT Licensed