Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

NY Motorcycle Crashes Loading Data

Public visualization

Viewing a saved revision (read-only)

b80b39c16ef64699875787fefc75c9bd

NY Motorcycle Crashes Loading Data

0 stars0🌍 Public
JJose Morales
Last edited Sep 3, 2025
Created on Sep 3, 2025
Forked from Loading Data

This example demonstrates loading and displaying a subset of NYC motorcycle crash data. The visualization shows the raw dataset as a JSON-formatted list of objects, with each row containing attributes like vehicle make, model, driver sex, and contributing factors. Initially, the view displays “LOADING” before fetching the CSV file and parsing it using `d3.csvParse`. Once loaded, the code converts the `UNIQUE_ID` field to numeric values and re-renders the data via `d3.select` and `join` operations.

AI-generated description