Skip to main content
Public

Share visualization

Loading preview…

American Cabinets - Scandals by Party

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 Cabinets - Scandals by Party

1
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.

Comments

Sign in to join the discussion.

MIT Licensed