Cars Scatter Plot
✓ Published1🌍 Public
An interactive scatter plot displays trade export values for selected countries, with the x-axis selectable via a dropdown menu. The visualization compares U.S. exports to Japan, plotting each data point as a semi-transparent red circle. Built with D3 v5, the code uses `d3.csv` to load data from a remote source, `scaleLinear`, `extent`, and `axisBottom`/`axisLeft` for scaling and axes. The dropdown menu is implemented as a reusable `dropdownMenu` component, while the scatter plot is rendered as SVG via the `scatterPlot` module.
AI-generated descriptionMIT Licensed