Skip to main content
Public

Share visualization

Loading preview…

Loading and Parsing UN Intentional Homicides Data

vizhub.com

Shared links may look like this on X, LinkedIn, Slack, and Discord.

Before sharing, review the publishing checklist.

Choose how to deliver this visualization

LinkedIn caption

LinkedIn may not keep text supplied by the share sheet. Copy the caption and paste it into the post if needed. You can tag the VizHub company page when posting.

More options

Embed on a websiteCopy iframe embed code
Download & exportPNG, HTML, source ZIP

Loading and Parsing UN Intentional Homicides Data

0
LLilly-beth Linnell
Last edited Sep 29, 2021
Created on Sep 9, 2021
Forked from HTML Starter

This example displays basic file metadata from a loaded CSV dataset, showing file size, row count, and column count in a large text output. It uses D3.js version 7 to fetch and parse the UN Intentional Homicides dataset via the `d3.csv` API, formatting the data with `d3.csvFormat` and calculating dimensions. The visualization demonstrates data-loading mechanics rather than graphical representation, with a commented alternative approach using `fetch`, `async/await`, and `d3.csvParse`.

AI-generated description

Here is my attempt to load and parse the UN Intentional Homicide dataset.

Comments

Sign in to join the discussion.

MIT Licensed