test for small loop
✓ Published0🌍 Public
This example tests looping through Census Bureau API requests for multiple years and data sets. It uses the ACS (American Community Survey) API to fetch median household income, total population, and unemployment data for Alleghany County, Maryland, from 2015 to 2019. The code constructs API URLs dynamically within for and while loops, then uses the Fetch API to retrieve JSON responses. A button triggers an export function that converts the collected results array into a CSV file for download (no d3.js visualization is rendered).
AI-generated descriptionThis line chart shows single family housing prices from 2010 to 2020.
Data is from Zillow.
MIT Licensed