Brushing in Bar Chart Using UN Intentional Homicide Data
A bar chart using UN Intentional Homicide data displays the number of intentional homicides per country, with country names on the x-axis and homicide counts on the y-axis. Built with D3 v6, it renders red-styled rectangles via SVG, using `d3.scaleBand` for the x-axis and `d3.scaleLinear` for the y-axis. The code includes a `d3.brushX` implementation (commented out) intended for brushing, though the active view shows static bars. Axis labels identify the plotted variables, and the data is loaded as CSV from a GitHub Gist.
AI-generated descriptionA bar chart using the UN Intentional Homicide dataset. This bar chart shows the number of intentional homicides (Y-axis) per the Country (X-axis) The country names do collide with each other, but that is an issue I have yet to fix. I want to thank Peter Cordone and Denise Mauldin for their help with troubleshooting!