Skip to main content
100%

Fork of Reusable Scatter Plot (ICE-7)

✓ Published3🌍 Public
Sskmriyaz0786@gmail.com
Last edited Oct 25, 2025
Created on Oct 24, 2025

This animated scatter plot explores BMW car sales data by cycling through four quantitative variables—engine size, mileage, price, and sales volume—on the x-axis every three seconds. Using D3.js v6 modules such as `scaleLinear`, `scaleOrdinal`, and `axisBottom`, each vehicle is rendered as a symbol based on fuel type, colored via `schemeCategory10`. The code constructs a reusable `scatterPlot` component with getter-setter methods, and the animation is driven by `setInterval` calling the SVG selection’s `.call()` method.

AI-generated description
MIT Licensed

Similar vizzes