Scatter Plot with Menus
✓ Published0🌍 Public
This example displays a scatter plot of automobile horsepower against weight, with each car represented as a semi-transparent red circle. The visualization includes labeled axes and a title, with the data sourced from a CSV file of car specifications. It uses D3 v5 to load and parse the data, create linear scales, and render SVG axes and circles. A dropdown menu, built with a reusable D3 function, offers options A, B, and C, though the menu currently does not alter the plot's behavior.
AI-generated descriptionMIT Licensed