Skip to main content
Public

Share visualization

Loading preview…

Fork of Reusable Scatter Plot (ICE-7)

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Fork of Reusable Scatter Plot (ICE-7)

3
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

Comments

Sign in to join the discussion.

MIT Licensed