ICE - 7 Scatter Plot
✓ Published1🌍 Public
66264kusuma@gmail.com
Last edited Mar 25, 2024
Created on Mar 23, 2024
Forked from ICE - 7 Reusable Scatter Plot Maanas Katta
This animated scatter plot visualizes car sales data, cycling through three numeric variables—Units, TotalAmount, and HorsePower—on the x-axis every two seconds while HorsePower remains fixed on the y-axis. Using D3.js version 6.7.0, the visualization leverages `scaleLinear`, `extent`, and `axisLeft`/`axisBottom` to map data points as black circles with white strokes. The `setInterval` function updates the x-axis scale and label, while the `scatterPlot` module handles the join pattern for smooth transitions. Data is loaded via D3’s `csv` from a GitHub raw URL, with axes and labels rendered in the Share Tech font.
AI-generated descriptionMIT Licensed