diff --git a/README.md b/README.md new file mode 100644 index 0000000..e3456d1 --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +# MizzouSEG + + +## Project Description + +This project utalizes a Huffington Post API to gather polling information for elections and other various topics. It then takes the informaion and visulizes it using the D3.js javascript library. + +### Links to Resources + +* [jQuery](https://jquery.com/) +* [D3](http://d3js.org/) +* [Huffington Post API](http://elections.huffingtonpost.com/pollster/api/) + + + + + + + + + + diff --git a/app.css b/app.css index 17f5189..72e1fb7 100644 --- a/app.css +++ b/app.css @@ -1,7 +1,8 @@ body { background-color: #EEE; } -#graph .choice { + +#gopGraph .choice { float: left; font-family: arial; font-size: 1.5em; @@ -9,15 +10,34 @@ body { text-align: right; margin: 8px 5px; } -#graph .bar { + +#gopGraph .bar { width: 0; height: 35px; background-color: coral; margin: 5px; float: left; } + +#demGraph .choice { + float: left; + font-family: arial; + font-size: 1.5em; + min-width: 200px; + text-align: right; + margin: 8px 5px; +} + +#demGraph .bar { + width: 0; + height: 35px; + background-color: cornflowerblue; + margin: 5px; + float: left; +} + .group:after { content: ""; display: table; clear: both; -} \ No newline at end of file +} diff --git a/index.html b/index.html index 39c1d51..458fdb0 100644 --- a/index.html +++ b/index.html @@ -8,19 +8,63 @@ -
+ +

GOP Polls

+
+ +
+ +

Democratic Polls

+
- \ No newline at end of file +