Skip to main content
Public

Share visualization

Loading preview…

American Sheriff Race Compared to Constituent Black Population

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

American Sheriff Race Compared to Constituent Black Population

0
MMartin Blatz
Last edited Sep 24, 2020
Created on Sep 17, 2020

A scatterplot compares the race of elected sheriffs to the percentage of Black residents in their constituencies, using point size to encode total population and color to indicate political party. The visualization reveals that communities with higher Black populations tend to elect non-white sheriffs. The code loads CSV data from the Reflective Democracy American Sheriffs database, processes it via d3.csv, and renders the chart using the Vega-Lite API with a custom configuration for axis styling and tooltips.

AI-generated description

A visualization constructed using the vega-lite-api.

A program that loads and parses some CSV data from the Reflective Democracy American Sheriffs database.

The data has been cleaned in Excel to fix case discrepancies and remove percentage sign characters.

The visualization shows the count of sheriffs elected categorized by political party affiliation along the X axis. Colors represent racial identity of the elected official.

The data is categorized based on the racial identity of the Sheriff along the X axis and the percentage of the constituent population who is Black. Larger points indicate larger overall populations and point color indicates the politial party affiliation of the elected official.

Communities with higher Black or African American populations are more likely to elect a non white sheriff.

Comments

Sign in to join the discussion.

MIT Licensed