Skip to content

Instantly share code, notes, and snippets.

View alexmacy's full-sized avatar

alexmacy

View GitHub Profile
@alexmacy
alexmacy / README.md
Last active May 16, 2019 09:12
Past Presidents

This dashboard was made for testing a couple different visualizations. Mainly a sortable data table and a stacked single-line row charts. It displays data about U.S Presidents, their party affiliations, duration in office, etc.

Pie charts are very convenient, but are not ideal for accurately displaying data - not to mention have a steadily decreasing amount of fans, so I wanted something that would easliy display comparable percentages of a whole, while not requiring less space than is needed for a histogram.

That brought me to making a stacked row chart that falls somewhere in the middle of the two. To do this, I repurposed a bar chart, gave all the bars the same height, and adjusting their width and placement based upon their percentage of the whole. The top row chart resizes based on the time period selected, and the bars on both charts fade when either outside of the selected time period or if their party is not selected.

@alexmacy
alexmacy / .block
Last active April 26, 2019 14:43
Election History w/ Avoidant Tooltip
license: mit
@alexmacy
alexmacy / .block
Last active January 7, 2019 15:30
Blocks Graph - w/thumbnails
license: gpl-3.0
height: 960
@alexmacy
alexmacy / .block
Last active June 26, 2018 09:18
K-Means Voronoi Relaxation
license: mit
@alexmacy
alexmacy / .block
Last active May 10, 2018 06:31
United States of Voronoi Area Ranking
license: mit
@alexmacy
alexmacy / .block
Last active March 6, 2018 10:17
Hive Plot (Areas) v4
license: gpl-3.0
@alexmacy
alexmacy / .block
Last active September 18, 2017 02:17
voronoi.find() and resizing charts
license: mit
@alexmacy
alexmacy / .block
Last active July 2, 2017 21:23
Turbo.js Speed Test
license: mit
@alexmacy
alexmacy / .block
Created June 29, 2017 23:06
Harmonograph
license: mit
@alexmacy
alexmacy / .block
Last active June 29, 2017 22:57
Rhodonea Curve
license: mit