Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

pp Scatter Plot

Public visualization

Viewing a saved revision (read-only)

36ee7f8f35fc405a9f3153da61b9201c

pp Scatter Plot

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

This animated scatter plot visualizes the relationship between sales volume and either price or another numeric attribute for phone data, toggling the x-axis variable every two seconds. Built with D3 v7, it uses `d3.scaleLinear` for both axes and `d3.axisBottom`/`d3.axisLeft` for tick marks. The `setInterval` function re-binds the data, updating circle positions via `attr('cx')`. Data loads asynchronously from a CSV via `d3.csv`, rendered as an SVG with steelblue circles.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts.

Shows the Iris Dataset.