Skip to main content
100%

Scatter/Line Plot with Menus

✓ Published0🌍 Public
DDjPendej0
Last edited Jun 17, 2020
Created on Jun 17, 2020

A scatter/line plot displays deaths and death percentages of miners over time, with two dropdown menus to switch the y-axis variable. The visualization uses D3 v5 with SVG rendering and animated transitions, as circles grow and reposition over two seconds when the menu selection changes. The chart employs D3 scales, axes, a line generator, and a custom dropdown menu component built with HTML select elements. Data is loaded from a CSV file hosted on GitHub, with years parsed as dates and numerical values converted to numbers.

AI-generated description
MIT Licensed

Similar vizzes