Skip to main content
100%

Loading and Parsing Zoo CSV Data

✓ Published0🌍 Public
Ffiona187412
Last edited Sep 9, 2019
Created on Sep 9, 2019

This example uses d3.csv to load a zoo dataset from a CSV file hosted on VizHub, then d3.csvFormat to calculate and display basic metadata about the data. The page renders a large pre-formatted text message showing the dataset’s size in kilobytes (rounded from the raw CSV string length), its row count, and its column count. The underlying dataset comes from the UCI Machine Learning Repository’s Zoo collection, containing 17 Boolean attributes plus a class label for each animal. The visualization is minimal, focusing solely on parsing and summarizing the data structure.

AI-generated description

A simple database containing 17 Boolean-valued attributes. The "type" attribute appears to be the class attribute.

Here is a breakdown of which animals are in which type: (I find it unusual that there are 2 instances of "frog" and one of "girl"!)

This data comes from UCI Machine Learning Repository: Zoo dataset

MIT Licensed

Similar vizzes