🌍 Public
Viewing a saved revision (read-only)
b0b184a1cbd74c96921caf8daf4dcd9a
Scatter Plot with Menus Electrical Data
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 descriptionA reusable scatter plot inspired by Towards Reusable Charts and Observable: selection.join.
Shows the Iris Dataset.