🌍 Public
Viewing a saved revision (read-only)
d2fa191d7f9249588d3f759d3909496a
Try one
This scatterplot visualizes worldwide export values to the United States and China, with each circle colored by indicator type. The chart uses D3 v5 scales and axes, including `scaleLinear`, `scaleOrdinal`, `axisLeft`, and `axisBottom`, to position points and format tick labels with `format(".2s")`. Data is loaded from a CSV file via the `csv` function, and circles are rendered as SVG elements with a legend built using `color.domain()`. The y-axis and x-axis labels identify the two destination countries, while a title summarizes the comparison.
AI-generated description