Log Scale Example
This example visualizes worldwide export data from the World Trade Organization for seven countries from 2000 to 2016. The scatter plot uses dropdown menus to select which countries to compare on the x and y axes, with a log scale on both. Hovering over a point reveals a tooltip with detailed information, while clicking a legend entry highlights that category. Color-coded by region, the visualization is built with D3 v5, using SVG rendering, animated transitions via `transition().duration()`, and custom implementations for the dropdown menu and color legend.
AI-generated descriptionRemark: Hover on the points, Click on the legent
This data is about the exports to China, United States, Brazil, India, Japan, Mexico and Russian Federation between 2000 and 2016, reporters are Africa, Asia excluding Hong Kong re-exports, Australia and New Zealand, Commonwealth of Independent States (CIS), including associate and former member States, Europe, European Union (28), Four East Asian traders, Middle East, North America, South and Central America and the Caribbean, Brazil, Japan, Mexico, Russian Federation.
All data comes from World Trade Organization: Network of world merchandise trade.