Skip to main content
100%

Loading and Parsing MA Cellmove Data

✓ Published1🌍 Public
RRuofan Chen
Last edited Sep 27, 2021
Created on Sep 6, 2021

This example displays a text summary of the Massachusetts cell-mobility dataset, reporting its file size, row count, and column count. It loads a CSV file from a GitHub gist using `d3.csv` and formats the first value with `d3.csvFormat`. The page also includes commented-out alternatives using `fetch` with `async`/`await` and `d3.csvParse`, as well as a nested promise approach. The data contains origin and destination geographies, coordinates, dates, and visitor/population flow estimates related to COVID-19 mobility during January 2021.

AI-generated description

Data

A program that loads and parses MA cellmove data: MA_cellmove. This dataset discribes the within-state observed mobility and estimated mobility during 2021-01-01 to 2021-01-20 (the peak of covid cases in Massachusetts) in MA.

Data structure:

  • geoid_o (categorical): the origin point of the mobility flow
  • geoid_d (categorical): the destination point of the mobility flow
  • lng_o and lat_o: geographical location of the original point lng_d and lat_d: geographical location of the desstination point
  • date (date stamp): date
  • visitor_flows (quantitative): the number of people observed with the movement form origin to destination
  • pop_flows (quantitative): the estimated number of people move from origin to destination based on the number of user group.

Question:

  • The question related to the data: On each day, the mobility from which county to which another county is dominant among all the mobility within the Massachusetts. (Then the gov should pay more attention to test and control the covid spread.)
MIT Licensed

Similar vizzes