Viewing a saved revision (read-only)
cd6e0c4d31b2427fb98905ee3b53dac9
Imports with Menus
Two dropdown menus let the viewer select which countries to compare on the x- and y-axes of a scatter plot, while a color legend filters the points by export category. The visualization uses d3.scaleLinear for axes, d3.scaleOrdinal with schemeCategory10 for coloring, and d3.select to update the menus and plot dynamically. Data covers exports to China and the United States from 2000 to 2016, sourced from the World Trade Organization. Circles animate into position with transitions, and filtering fades non-selected points.
AI-generated descriptionThis data is about the exports to China and United States between 2000 and 2016.
All data comes from World Trade Organization: Network of world merchandise trade.