Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of reusable scatter plot

Public visualization

Viewing a saved revision (read-only)

15e9aea0494e4387a23bfe9868bef701

Fork of reusable scatter plot

0 stars2🌍 Public
119h61a05c9@cvsr.ac.in
Last edited Oct 26, 2025
Created on Oct 26, 2025

A reusable scatter plot cycles every two seconds between horsepower and miles-per-gallon axes for a 20-row car dataset. Built with D3 v6, it uses a reusable chart function with getter-setters for width, margin, and accessor functions. The SVG renders axes, labels, and steelblue circles with hover tooltips via appended title elements, while a setInterval reassigns xValue and yValue to flip the variables. The chart removes and recreates the SVG on each update, producing an animated axis-switching visualization.

AI-generated description