Skip to content

Instantly share code, notes, and snippets.

View ChampeBarton's full-sized avatar

Champe Barton ChampeBarton

View GitHub Profile
@ChampeBarton
ChampeBarton / README.md
Last active March 15, 2018 02:53
Gator-Name Beeswarm Plot

This was a project I created for the Gainesville Sun — we wanted to look at all the businesses in Gainesville that used "Gator" or "Swamp" in their names (hint: there are MANY) and put together some sort of visualization so readers could take away something interesting from that data.

I wrote some Python code to scrape the FL Department of States fictitious name database for all the businesses in Alachua County whose names begin with "Gator" or "Swamp", along with the date the names were registered and whether or not the listings are still active. I then used javascript's D3 library to produce a hover-interactive beeswarm plot of the findings. This way, readers could get a sense of 1) how long these businesses last and 2) when business owners register a higher number of "Gator" or "Swamp" related names.

We found that the biggest crops of registrations generally occurred when Gator football and basketball teams were the winningest, and I used Adobe Illustrator to add annotations that communicated as much. T

@ChampeBarton
ChampeBarton / README.md
Created March 15, 2018 04:15
Alachua County School Map Race

I created this project as an add-on to a piece about modern-day redlining in the Gainesville Sun, but because of website incapacities (of which I was unfortunately unaware), it never ran. I used data from the Florida Department of Education to retrieve grades, addresses, demographics, and names for every school in Alachua County.

With that data in hand, I was able to use the javascript library D3 to create a symbol map, where each school in Alachua is represented by a circle with a radius corresponding to its population size and a color corresponding to the percentage of students at the school who are black.

The map reveals a concentration of predominantly black schools in East Gainesville, likely the result of systemic redlining over the years that forced a majority of black community members into one concentrated cluster in East Gainesville.

@ChampeBarton
ChampeBarton / README.md
Last active March 15, 2018 04:58
Alachua County School Map Grades

I created this visualization to accompany another symbol map of Alachua schools (https://bl.ocks.org/ChampeBarton/5eedb82836897078fd69a0f5b5412082) that revealed evidence of segregated schooling across Alachua County. This map provides another reference point for the other, displaying each school's performance based on Florida Department of Education grade reports.

You can see clearly that performance correlates rather strongly with demographic makeup, suggesting perhaps (as does a fair amount of research) that segregated schools hurt the performance of the students being segregated. In other words, sequestering black children in low-income environements creates resource-poor schools in those environments, which damages the performance of the children who attend.

An even clearer and more disappoining relationship between school grades and racial demographic can be seen here, in a bar graph I made with Tableau from the same data: https://public.tableau.com/profile/champe.barton#!/vizhome/AlachuaSchoolGrades

@ChampeBarton
ChampeBarton / index.html
Created March 25, 2018 22:01
ScrollyTelling Practice
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Scrollama Demo: Fixed CSS</title>
<meta name="description" content="Scrollama Demo: Fixed CSS">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
@ChampeBarton
ChampeBarton / DisneyFilms3.csv
Last active April 4, 2018 08:29
Film Dialogue
script_id imdb_id
1571 tt0103639
1957 tt1216475
2961 tt0120762
2782 tt0110357
2784 tt0097757
6026 tt0088814
5516 tt1772341
5521 tt0119282
5525 tt0053285
imdb_id,pct_wht,us_gross
tt2488496,0.545454545,936662225
tt0499549,0.461538462,760507625
tt0120338,0.882352941,659325379
tt0848228,0.866666667,623357910
tt0468569,0.71875,534858444
tt0120915,0.666666667,474544677
tt1345836,0.769230769,448139099
tt0298148,0.714285714,436471036
tt0383574,0.833333333,423315812