Skip to main content
100%

Scatter Plot with Menus Electrical Data

✓ Published0🌍 Public
PPeter Cordone
Last edited Oct 6, 2021
Created on Oct 5, 2021

A scatter plot displays electrical usage data for a single account, with dropdown menus to switch the X and Y axes between categorical fields like year and account. The visualization uses D3 v6 with reusable chart and menu components, leveraging `selection.join` for smooth enter-update-exit transitions and animated circle positioning over one second. Data loads from a CSV file, and axes scale linearly or by point depending on the selected variable type.

AI-generated description

A reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.

Shows the Iris Dataset.

MIT Licensed

Similar vizzes