Skip to main content
Public

Share visualization

Loading preview…

Scatterplot of Boston Crime 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

Scatterplot of Boston Crime Data

1
LLeah Mitchell
Last edited Sep 27, 2021
Created on Sep 14, 2021
Forked from D3 Scatter Plot

A scatterplot displays Boston crime data for theft-type offenses, plotting the hour of day on the x-axis against the offense code on the y-axis. Each grey, semi-transparent circle represents an individual crime, with opacity revealing overlapping points. The data loads from a CSV file and is processed via `d3.csv` with a parsing function that converts numeric fields. Using d3.v6, the visualization employs `scaleLinear` for the axes, `axisLeft`, `axisBottom`, and SVG `circle` elements within a full-window rendered chart.

AI-generated description

Scatterplot of hour versus offense code for Boston crime data, specifically for theft-type crimes.

Data from: https://gist.github.com/LeahMitchell/1995469479ed07a95eabb8625b32807a#file-readme-md

Comments

Sign in to join the discussion.

MIT Licensed