Female v. Military by Region with Menus, Filter by Year
This scatter plot shows the relationship between female ratio, military ratio, and retention rates of cabinet members across regions, with a dropdown menu to filter data by five-year increments. Built with React and D3 v5, it uses scaleLinear for axes and scaleOrdinal for region colors, rendered as SVG circles with tooltips. Data comes from the International Cabinets dataset, binned into five-year averages for each country.
AI-generated descriptionThis chart was made using Female v. Military by Region, Outliers Removed as a base and modified to add menus based on CS573 Week 6 videos. Data was ported from the International Cabinets dataset - reduced to only include country, female ratio, military ratio, retention and government. Color coding was added using the Penguins! chart as a model. Material from Week 6 videos and Week 7 videos was combined in order to create a dropdown menu that filters the data to only plot the years selected.
The chart allows the user to plot the female ratio, military ratio and retention rates of governmental cabinets of countries based on region; data can be selected based on 5-year increments (data for each 5-year increment is the average of the 5-years listed).
The data is a modification of WhoGov's International Cabinets dataset. The dataset contains information about more than 50,000 cabinet members from 177 countries, spanning July 1966 - July 2016. There is a separate entry for each cabinet member, from each country, for each year. Each entry contains information such as party affiliation, gender, age and military affiliation.