Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

VP Dataset 1 (NYC Water Consumption)

Public visualization

Viewing a saved revision (read-only)

ca3fedfd96c84ae8979024b364b54f62

VP Dataset 1 (NYC Water Consumption)

0 stars0🌍 Public
VVansh Patel
Last edited Jan 23, 2024
Created on Jan 23, 2024

This example displays the first record of New York City water consumption data from the NYC Open Data portal, showing fields like population, consumption in millions of gallons per day, and per-capita usage. The code parses the CSV file, converts numeric strings to numbers, and renders the first data object as formatted JSON text inside an HTML pre element. It uses JavaScript with the `JSON.stringify` method to display the structured data directly in the container.

AI-generated description

The Penguins Dataset, loaded and parsed as CSV.

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.md to indicate the original data source