Skip to main content
100%

American Cabinets - Scandals by Party

✓ Published1🌍 Public
RRudy Shayganfar
Last edited Sep 23, 2020
Created on Sep 17, 2020

This stacked bar chart shows the number of cabinet appointees involved in scandals, broken down by political party, using the American Cabinets Appointments dataset. The visualization uses the vega-lite-api library, registering vega, vega-lite, and vega-tooltip, to render a bar chart where each bar’s height represents the total count of appointments and color encodes whether a scandal flag is present. Data is loaded asynchronously via d3.csv from a GitHub gist, and the chart is configured with custom axis styles for readability.

AI-generated description

A visualization constructed using the vega-lite-api.

The stacked bar chart above provides the number of scandals in American cabinets based on the party affiliation of the individual involved.

This is the "American Cabinets" data set, specifically the "American Cabinets - Appointments" csv from this GitHub gist (Chamberlain, Tait. 2020. UNITED STATES OF AMERICA CABINET APPOINTMENTS DATASET. GitHub.) The csv contains confirmed cabinet appointments from Washington through the current administration. It includes names, dates, scandals, and attributes such as education, minority, gender, etc. Each row provides information on a different appointee.

Data ported from American Cabinets Appointments dataset.

MIT Licensed

Similar vizzes