Skip to main content
100%

VP Dataset 1 (NYC Water Consumption)

✓ Published0🌍 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 Water Consumption in the City of New York Dataset, loaded and parsed as CSV.

Potential Tasks

  • Visualize water consumption by decade to understand what factors impacted consumption by decade
  • Analyze significant changes in water consumption from year to year to understand what factors externally affected water consumption
MIT Licensed

Similar vizzes