Viewing a saved revision (read-only)
1b441249194c46a18890421091ed9adb
Week 2 Dataset 3
This example displays the first row of the Kaggle Animal Bites dataset as formatted JSON in a monospace preformatted element. The dataset contains records of animal bites with fields for species, breed, color, vaccination dates, and location details. The code imports the CSV data, converts the vaccination years and victim zip code fields to numbers, and then renders the first data entry. It uses the native `JSON.stringify` method to format the row with indentation for readability, with the font size set to 12 pixels.
AI-generated descriptionThe Kaggle Animal Bites dataset, loaded and parsed as CSV.
Question on the dataset: many of the dogs do not have a second breed, could this fact be used to simplify the data format?
Possible tasks on the dataset: determining most popular dog breeds among various locations in the city, perhaps to help someone moving to Zurich decide what type of dog to get