Skip to main content
100%

Scatter Plot with Menu

✓ Published0🌍 Public
Vveagy
Last edited Oct 8, 2018
Created on Oct 8, 2018

This example displays a scatter plot of worldwide export values, comparing exports from the United States and Mexico, with each circle colored according to its indicator category and a legend identifying those categories. A dropdown menu, built with a custom `dropDownMenu` function, presents options A, B, and C, though no interaction logic is bound to it in the shown code. The visualization uses D3 v5 APIs including `scaleLinear`, `axisBottom`, `axisLeft`, and `scaleOrdinal` with `schemeCategory10` for coloring, rendering SVG circles with semi-transparent red fills as defined in the stylesheet. Data is loaded as CSV from a VizHub-hosted dataset.

AI-generated description
MIT Licensed

Similar vizzes