Skip to main content
100%

County Business Practices

✓ Published0🌍 Public
Hhmkyriacou
Last edited Jan 22, 2023
Created on Jan 22, 2023
Forked from NFL Stats Data

This example displays the U.S. Census Bureau’s County Business Patterns data for 2020, showing employment figures and firm-size distributions across different industry classifications within a chosen Combined Statistical Area. The visualization presents the dataset as a raw table, allowing users to inspect the hierarchical NAICS codes alongside metrics like annual payroll, number of establishments, and employee count brackets. Under the hood, the code fetches the CSV, parses it with `d3.csvParse`, and converts numeric strings to numbers before rendering the JSON structure into a `<pre>` element via D3’s `selectAll` and `join` operations.

AI-generated description

County Business Practices

About

  • Data from census.gov about employment for business within countys in the US
  • https://www.census.gov/programs-surveys/cbp/data/datasets.html
  • Have data over many years
  • Data organized by year, but I may only pull data from my county/town/state and then combine it with data from different years
  • I included only 2020 data using Combined Statistical Areas (CBA) as an example, but they have data going back to before 1986, and different divisions like by zip code or state.
  • There are also a lot of rows of data, but after filtering the data or narrowing the scope to be only a certain state would lower the amount of rows a lot.
MIT Licensed

Similar vizzes