Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Assignment - 1

Public visualization

Viewing a saved revision (read-only)

24f2904eb9b245e28b5e76cef1a41022

Assignment - 1

0 stars0🌍 Public
VVinay Vemuri
Last edited Jul 1, 2023
Created on Jul 1, 2023
Forked from Hello VizHub

This example displays the first ten rows of Dallas Police Incident Data in a raw JSON format, loaded from a gist-hosted CSV file using D3’s `csv` method. The page renders the data into two HTML `<pre>` elements, with the first labeled “First 10 rows” and the second showing the stringified JSON. The background is styled with CSS, and an SVG element embeds a background image via a data URI pattern. The code relies on D3 v5’s `select`, `csv`, and `csvFormat` utilities to fetch and display the data.

AI-generated description