🌍 Public
Viewing a saved revision (read-only)
9f0a6a1d70a041f388aaec2a39188fde
CSV Dataset - FLU Data
This example displays a single record from a CSV dataset of flu shot information, showing fields like age, county, gender, and flu shot status. The code uses a JavaScript data import from `data.csv` and parses values with `new Date()` and unary plus operators for type conversion. The main function renders the first data row as formatted JSON inside an HTML `<pre>` element, with a font size of 21 pixels.
AI-generated descriptionThe Penguins Dataset, loaded and parsed as CSV.
Fork and modify this template to import your data to VizHub and export it for use in other vizzes! To do that:
- Fork this viz
- Clear out the README
- Update the README with details about your dataset (including original source)
- Replace
data.csvwith your own data - Replace the parsing logic in
index.jswith your own - Set the custom URL so you can import from it easily
Challenge
- Find 3 datasets on a topic you are interested in
- For each of those, fork this viz and replace the data
- Parse the quantitative attributes into numbers
- Update
README.mdto indicate the original data source