Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Massachusetts City Population by Burglary

Public visualization

Viewing a saved revision (read-only)

bbf32306c35442e7a72f74d33966b04b

Massachusetts City Population by Burglary

0 stars2🌍 Public
Wwenleicao
Last edited Sep 17, 2019
Created on Sep 8, 2019

This example plots Massachusetts cities as points on a scatterplot, with burglary counts on the x-axis and population on a logarithmic y-axis. It reveals that among similarly populated cities, New Bedford and Fall River experience notably higher burglary rates. The visualization is built with the vega-lite-api, which registers Vega and Vega-Lite, and uses d3.csv to load the crime dataset from a GitHub gist. Custom axis styling and tooltips are configured through Vega-Lite’s API, with points colored by city and rendered via SVG.

AI-generated description

A visualization constructed using the vega-lite-api.

Crime dataset has been visualized. At similar range of population, New Bedford, fall river has higher Burglary crime

dataset intro is here

Gist is from here