Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Q1. Reusable D3 Scatter Plot

Public visualization

Viewing a saved revision (read-only)

8ab4281b910c4f799c5a0a1473967b0a

Q1. Reusable D3 Scatter Plot

0 stars0🌍 Public
Mmaddineni2112@gmail.com
Last edited Oct 27, 2025
Created on Oct 27, 2025

This interactive scatter plot visualizes car sales data, showing the relationship between price and various numerical attributes. The visualization cycles through three different x-axis variables—Horsepower, Mileage, and Year—every two seconds, keeping price on the y-axis. Built with D3.js (v6.7.0), the reusable `scatterPlot` module creates an SVG chart with animated transitions, axes, and a grid. Data is loaded from a CSV file using `d3.csv` and displayed as circles with a consistent fill color, with detected numeric columns automatically selected for the axes.

AI-generated description