Viewing a saved revision (read-only)
bb2741a1e12e4ca6afe423d31a9ae69c
Economic factors over time plot with Menus-test1
This example visualizes economic factors in the United States from 1800 to 2011, plotting tax revenue against other variables as a scatter plot. The chart allows users to select which economic columns to display on the x-axis and y-axis via dropdown menus. The visualization uses d3.v5's scaleLinear, axisBottom, and axisLeft to construct the axes, while a custom scatterPlot function renders the circles. Data is loaded from a CSV file hosted on VizHub, and the rendering is done as an SVG.
AI-generated descriptionThis scatter plot shows the revenue generated through taxes by the United States government from 1800 to 2011. The y-axis reports the revenue as a percentage of GDP and the x-axis reports the year. The dataset comes from the IMF Website.