🌍 Public
Viewing a saved revision (read-only)
1ee5fc238e514365b998fbacabba988a
1. Diabetes Self-Management Data
This example displays the first record of the Diabetes Self-Management dataset as a formatted JSON object in a large monospace font. The code parses a CSV file, converting age and year to numbers and transforming diabetes and heart disease statuses into booleans. It uses the `JSON.stringify` method to serialize the data, which is then inserted into the container's innerHTML within a `<pre>` tag. The visualization provides a raw data preview, highlighting the dataset's structure and initial content.
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