Exports to Seven Countries with Menus
✓ Published3🌍 Public
This interactive scatterplot compares exports to seven countries between 2000 and 2016, with dropdown menus allowing viewers to select which two countries to plot against each other. The code imports data from the World Trade Organization’s network of world merchandise trade statistics via `d3.csv`. Using D3 v5’s `scaleLinear`, `axisLeft`, and `axisBottom`, it renders SVG circles with animated transitions via `transition().duration(2000)`. The custom `dropDownMenu` module handles menu updates, while the `scatterPlot` module manages axes and data binding.
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.
MIT Licensed