🌍 Public
Viewing a saved revision (read-only)
97f2b63d03544702a9cf814c4c036ee6
Line Chart in D3
This line chart displays the number of police shootings in the United States per year from 2015 to mid-2020. The x-axis shows years as discrete values using `d3.scaleBand`, while the y-axis uses `d3.scaleLinear` with a range of 400 to 1200 incidents. The data is loaded from a remote CSV file via `d3.csv`, parsed with `d3.timeParse`, and aggregated by year using `d3.rollups`. The line is drawn with `d3.line`, and axes are rendered using `d3.axisBottom` and `d3.axisLeft`, with SVG output.
AI-generated descriptionA bubble plot depicting the width, length, height, and sex of turtles.
Height is displayed using circle size, and gender is displayed using color (Blue = male, Orange = female)