Economic factors over time plot with Menus-Final
This scatter plot displays the relationship between various US economic factors from 1800 to 2011, using data from the IMF website. Interactive dropdown menus allow the user to select which economic indicators appear on the x-axis and y-axis, with the plot updating dynamically. Built with D3 v5, the visualization uses `scaleLinear()`, `axisBottom()`, `axisLeft()`, and `circle` elements for the scatter plot, while the dropdown menus are created using a custom `dropdownMenu` component that appends HTML `select` and `option` elements.
AI-generated descriptionThis scatter plot shows variation of various economic factors since 1800 to 2011 for the United States. The y-axis and x-axis can be chosen from the menus on top of the plot. The dataset comes from the IMF Website.