Skip to content

Instantly share code, notes, and snippets.

View molliemarie's full-sized avatar

Mollie Marie Pettit molliemarie

View GitHub Profile
@molliemarie
molliemarie / .block
Last active February 7, 2020 19:04
Scatter1_HTML_Starter
license: mit
@molliemarie
molliemarie / .block
Last active March 7, 2019 00:51
BarChartD3DataJoin_Workshop_3-2019
license: mit
@molliemarie
molliemarie / .block
Last active March 7, 2019 00:33
BarChartD3_Workshop_3-2019
license: mit
@molliemarie
molliemarie / .block
Last active March 7, 2019 00:24
BarChartHTML_Workshop3-2019
license: mit
@molliemarie
molliemarie / .block
Created March 6, 2019 22:08
BarChartHTML_Starter
license: mit
@molliemarie
molliemarie / .block
Last active March 6, 2019 21:49
ChicagoCrimeFinished
license: mit
@molliemarie
molliemarie / .block
Last active March 7, 2019 01:49
ChicagoCrimeStarter
license: mit
@molliemarie
molliemarie / index.html
Last active February 7, 2019 22:15
UFO sightings plot
<!DOCTYPE html>
<meta charset="utf-8">
<script src="https://d3js.org/d3.v4.min.js"></script>
<style type="text/css">
.axis line {
stroke-width:1px;
stroke: #ccc;
@molliemarie
molliemarie / README.md
Last active September 18, 2017 16:04
UFO sightings - interactive line / scatter plot

This chart was created for a talk / workshop given at CodeHer Conference in Washington D.C. in 2017. You can find additional information and slides from the talk in this repository.

This scatter / line chart shows the ufo sightings count per month between 2000 and 2016. It includes the following interactions:

  • On hover, circle radius doubles and text appears showing the count associated with that data point. Additionally all other circles become more transparent when a circle is being hovered over. After hover, all circles go back to normal.
  • Upon clicking a year button, the chart will transition to display data from that particular year.
@molliemarie
molliemarie / ufo.csv
Created September 15, 2017 06:11
UFO csv for use in D3.js workshop
date count
12/2016 347
11/2016 489
10/2016 481
09/2016 591
08/2016 550
07/2016 681
06/2016 427
05/2016 380
04/2016 384