Murder in United States
✓ Published0🌍 Public
This visualization shows a time-series line chart tracking the number of murders in the United States over time, using a dark-themed interface with large, readable labels. The chart maps years on the x-axis and the murder count on the y-axis, with tooltips displaying the year for each data point. Built with Vega-Lite and the Vega-Lite API, it loads data from a CSV file via D3’s `csv` function, renders the line using `markLine`, and customizes axis appearance through a configuration object. The code registers Vega-Lite with a tooltip handler, and the visualization resizes to fit the window dimensions.
AI-generated descriptionThis plot shows a time-series line for the murder in the United States.
The source comes from Gist.
MIT Licensed