Skip to main content
100%

Exports to Seven Countries with Menus

✓ Published3🌍 Public
Vveagy
Last edited Nov 1, 2018
Created on Oct 9, 2018
Forked from Cars Scatter Plot

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 description

This 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

Similar vizzes