Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Reusable Scatterplot

Public visualization

Viewing a saved revision (read-only)

c26089af41d24a85ad1e5a6f44e2742b

Reusable Scatterplot

0 stars0🌍 Public
Ttelkapallyrekha@gmail.com
Last edited Mar 28, 2024
Created on Mar 27, 2024

This scatter plot visualizes the relationship between units sold and sales revenue for mobile devices, with data points colored by brand. The implementation uses a reusable `scatterPlot` module built with D3 v6, employing `scaleLinear` and `scaleOrdinal` for axes and color encoding, alongside `axisLeft` and `axisBottom` for chart annotations. The visualization cycles between two halves of the dataset every five seconds, fetched from a CSV via `d3.csv`, and renders as an interactive SVG with a 12-pixel font for labels.

AI-generated description