Skip to main content
Public

Share visualization

Loading preview…

Exports to Seven Countries with Menus

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Exports to Seven Countries with Menus

3
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.

Comments

Sign in to join the discussion.

MIT Licensed