Loading US Employment/Unemployment Data
This example demonstrates loading and displaying US employment and unemployment data from a CSV file. It first shows a raw JSON representation of the data, initially indicating a "LOADING" state before fetching the dataset from a GitHub Gist. Once retrieved, it parses the CSV string using D3's `csvParse` method, converting numerical fields from strings to numbers and handling footnotes. The visualization uses the D3 v7 library to manage the asynchronous data-fetching workflow, updating the displayed content via a state management system. The data originates from the USA Bureau of Labor Statistics, covering civilian noninstitutional population employment status since 1940.
AI-generated descriptionhttps://datahub.io/core/employment-us
US Employment and Unemployment rates since 1940
US Employment and Unemployment rates since 1940. Official title: Employment status of the civilian noninstitutional population, 1940 to date from USA Bureau of Labor Statistics.
Field Name Order Type (Format) Description
year 1 year
population 2 integer
labor_force 3 string
population_percent 4 number
employed_total 5 number
employed_percent 6 number
agrictulture_ratio 7 number
nonagriculture_ratio 8 number
unemployed 9 integer
unemployed_percent 10 number
not_in_labor 11 integer
footnotes 12 string