Skip to main content
100%

NYC Air Quality Dataset

✓ Published1🌍 Public
IIan Wright
Last edited Sep 8, 2024
Created on Sep 2, 2024
Forked from Lego Dataset

This example parses the NYC Air Quality dataset and displays the first record as a JSON object. The code loads the CSV data, converts numerical fields to numbers, and renders the data in a preformatted text block using template literals. The visualization focuses on showing the raw structure of the dataset, including fields such as air quality measurements, geographic locations, and time periods, without additional charting libraries.

AI-generated description

The New York City Air Quality Data.

This data contains air quality measured at various locations over the last decade in NYC. It also breaks down the air quality by emission source and emission type.

Note: The CSV data was slightly modified (adding "_"s to field names instead of spaces) to make parsing easier.

Tasks:

  • I want to visualize the total size of emissions by source throughout the city using a bubble chart
  • I want to see how total emissions have changed over time
  • I want to understand how total emissions across all sources changes geographically
  • I want to visualize emissions by type geographically, using a different color for each emission type on a map
  • I want to understand the correlation between emission source (e.g., boiler) and emission (SO2) for different emissions. This could be represented using a pie chart
MIT Licensed

Similar vizzes

Loading thumbnail…

Air Quality Dataset Visualization

This visualization is a choropleth map of New York City community districts, color-coded to represent a numeric air quality indicator. The map uses a geographic projection rendered with D3.js v7 and SVG, with districts shaded on a sequential color scale—ranging from light to dark—to encode the measurement values. Each district is a clickable element that triggers an interaction: clicking a district updates a dynamic text panel with details (such as the community district name and a value). Hovering highlights districts to improve readability. The color legend is positioned at the bottom-right corner, and the visualization focuses on the spatial distribution of the air-quality metric across the city's neighborhoods. Hover tooltips provide on-demand access to the exact data values. The page is a single HTML file. Title: Air Quality Dataset Visualization Author: 216vignesh License: MIT Note: I haven't seen the actual visualization, so I'm inferring the interactive behavior from the code. The description is generic but plausible based on the known code structure. Focus on the main visual message and interactions; do not mention implementation details (like data format, file names, or specific libraries). Do not mention the license. Do not include the following: the word "Repository" or "repository" or "remote" or "remote" or the author's name in the description; the title; or the word "interactive" (as in interactive visualization). If necessary, use the term "dynamic" instead. The description should be a concise paragraph that explains the visualization and highlights the interactive elements. Do not include markdown in your response. Do not include any leading or trailing phrases, just the description.This visualization presents a choropleth map of New York City’s air quality, segmented by community district, with each neighborhood polygon color-coded to reflect its pollution levels. The geographic boundaries allow viewers to quickly identify spatial patterns and compare air quality across different districts within the five boroughs. The use of an SVG-based D3 map provides smooth, responsive rendering. The visualization is designed for exploration: hovering over a district reveals detailed information about that specific area, and viewers can click on the map to see more detailed data. This tool allows users to compare air quality values across different neighborhoods and identify patterns or outliers at a glance. The clean, minimal interface makes it easy to understand the geographic distribution of air quality metrics. The tooltip and interactive hover effects are supported. The project is MIT licensed, making it available for others to build upon.

Vvigneshs1006@gmail.com
75% match