├── .gitignore ├── LICENSE ├── MONTAGE.html ├── README.md ├── archive ├── index.html ├── index.json ├── montage.html ├── package.json ├── retab.sh └── units │ ├── unit-01 │ ├── module-01 │ │ └── example-01 │ │ │ └── index.html │ ├── module-02 │ │ ├── example-01 │ │ │ └── index.html │ │ ├── example-02 │ │ │ └── index.html │ │ ├── example-03 │ │ │ └── index.html │ │ ├── example-04 │ │ │ └── index.html │ │ ├── example-05 │ │ │ └── index.html │ │ ├── example-06 │ │ │ └── index.html │ │ ├── example-07 │ │ │ └── index.html │ │ ├── example-08 │ │ │ └── index.html │ │ ├── example-09 │ │ │ └── index.html │ │ ├── example-10 │ │ │ └── index.html │ │ ├── example-11 │ │ │ └── index.html │ │ ├── example-12 │ │ │ └── index.html │ │ ├── example-13 │ │ │ └── index.html │ │ ├── example-14 │ │ │ └── index.html │ │ └── example-15 │ │ │ └── index.html │ ├── module-03 │ │ ├── example-01 │ │ │ └── index.html │ │ ├── example-02 │ │ │ └── index.html │ │ ├── example-03 │ │ │ └── index.html │ │ ├── example-04 │ │ │ └── index.html │ │ ├── example-05 │ │ │ └── index.html │ │ ├── example-06 │ │ │ └── index.html │ │ ├── example-07 │ │ │ └── index.html │ │ ├── example-08 │ │ │ └── index.html │ │ ├── example-09 │ │ │ └── index.html │ │ ├── example-10 │ │ │ └── index.html │ │ ├── example-11 │ │ │ └── index.html │ │ ├── example-12 │ │ │ └── index.html │ │ ├── example-13 │ │ │ └── index.html │ │ ├── example-14 │ │ │ └── index.html │ │ ├── example-15 │ │ │ └── index.html │ │ ├── example-16 │ │ │ └── index.html │ │ ├── example-17 │ │ │ └── index.html │ │ ├── example-18 │ │ │ └── index.html │ │ └── example-19 │ │ │ └── index.html │ ├── module-04 │ │ ├── example-01 │ │ │ └── index.html │ │ ├── example-02 │ │ │ └── index.html │ │ ├── example-03 │ │ │ └── index.html │ │ ├── example-04 │ │ │ └── index.html │ │ ├── example-05 │ │ │ └── index.html │ │ ├── example-06 │ │ │ └── index.html │ │ ├── example-07 │ │ │ └── index.html │ │ ├── example-08 │ │ │ └── index.html │ │ ├── example-09 │ │ │ └── index.html │ │ └── example-10 │ │ │ └── index.html │ ├── module-05 │ │ ├── example-01 │ │ │ └── index.html │ │ ├── example-02 │ │ │ └── index.html │ │ ├── example-03 │ │ │ └── index.html │ │ ├── example-04 │ │ │ └── index.html │ │ ├── example-05 │ │ │ └── index.html │ │ ├── example-06 │ │ │ └── index.html │ │ ├── example-07 │ │ │ └── index.html │ │ ├── example-08 │ │ │ └── index.html │ │ ├── example-09 │ │ │ └── index.html │ │ └── example-10 │ │ │ └── index.html │ └── module-06 │ │ ├── example-01 │ │ └── index.html │ │ ├── example-02 │ │ └── index.html │ │ ├── example-03 │ │ └── index.html │ │ ├── example-04 │ │ └── index.html │ │ ├── example-05 │ │ └── index.html │ │ ├── example-06 │ │ └── index.html │ │ └── example-07 │ │ └── index.html │ ├── unit-02 │ ├── module-01 │ │ ├── example-01 │ │ │ └── index.html │ │ ├── example-02 │ │ │ └── index.html │ │ ├── example-03 │ │ │ └── index.html │ │ ├── example-04 │ │ │ ├── babelrc.json │ │ │ ├── bundle.js │ │ │ ├── index.html │ │ │ ├── index.js │ │ │ ├── package.json │ │ │ └── rollup.config.js │ │ └── example-05 │ │ │ └── index.html │ ├── module-02 │ │ ├── example-01 │ │ │ └── index.html │ │ ├── example-02 │ │ │ ├── data.csv │ │ │ └── index.html │ │ ├── example-03 │ │ │ ├── data.csv │ │ │ └── index.html │ │ ├── example-04 │ │ │ ├── data.csv │ │ │ └── index.html │ │ ├── example-05 │ │ │ ├── data.csv │ │ │ └── index.html │ │ └── example-06 │ │ │ ├── data.csv │ │ │ └── index.html │ ├── module-03 │ │ ├── example-01 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-02 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-03 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-04 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-05 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-06 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-07 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-08 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-09 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-10 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-11 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-12 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-13 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ └── example-14 │ │ │ ├── index.html │ │ │ └── iris.csv │ ├── module-04 │ │ ├── example-01 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-02 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-03 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-04 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-05 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-06 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-07 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-08 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ └── example-09 │ │ │ ├── index.html │ │ │ └── iris.csv │ ├── module-05 │ │ ├── example-01 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-02 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-03 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-04 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-05 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-06 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-07 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-08 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-09 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-10 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-11 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ └── example-12 │ │ │ ├── index.html │ │ │ └── iris.csv │ ├── module-06 │ │ ├── example-01 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-02 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-03 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-04 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-05 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-06 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-07 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-08 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-09 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-10 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ └── example-11 │ │ │ ├── index.html │ │ │ └── iris.csv │ ├── module-07 │ │ ├── example-01 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-02 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-03 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-04 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-05 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ └── example-06 │ │ │ ├── index.html │ │ │ └── iris.csv │ ├── module-08 │ │ ├── example-01 │ │ │ └── index.html │ │ ├── example-02 │ │ │ └── index.html │ │ ├── example-03 │ │ │ └── index.html │ │ ├── example-04 │ │ │ └── index.html │ │ ├── example-05 │ │ │ └── index.html │ │ ├── example-06 │ │ │ └── index.html │ │ └── example-08 │ │ │ ├── index.html │ │ │ ├── iris.csv │ │ │ ├── preview.png │ │ │ └── thumbnail.png │ ├── module-09 │ │ ├── example-01 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-02 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ ├── example-03 │ │ │ └── index.html │ │ ├── example-04 │ │ │ └── index.html │ │ ├── example-05 │ │ │ └── index.html │ │ ├── example-06 │ │ │ ├── index.html │ │ │ └── iris.csv │ │ └── example-07 │ │ │ ├── index.html │ │ │ └── iris.csv │ └── module-10 │ │ ├── example-01 │ │ ├── index.html │ │ └── iris.csv │ │ ├── example-02 │ │ └── index.html │ │ ├── example-03 │ │ └── index.html │ │ ├── example-04 │ │ └── index.html │ │ ├── example-05 │ │ ├── index.html │ │ └── iris.csv │ │ ├── example-06 │ │ ├── index.html │ │ └── iris.csv │ │ └── example-07 │ │ ├── index.html │ │ └── iris.csv │ └── unit-03 │ └── module-01 │ ├── example-01 │ └── index.html │ ├── example-02 │ ├── data.csv │ └── index.html │ ├── example-03 │ ├── data.csv │ └── index.html │ ├── example-04 │ ├── data.csv │ └── index.html │ ├── example-05 │ ├── data.csv │ └── index.html │ ├── example-06 │ ├── data.csv │ └── index.html │ ├── example-07 │ ├── data.csv │ └── index.html │ ├── example-08 │ ├── data.csv │ └── index.html │ ├── example-09 │ ├── data.csv │ └── index.html │ ├── example-10 │ ├── data.csv │ └── index.html │ ├── example-11 │ ├── data.csv │ └── index.html │ ├── example-12 │ ├── data.csv │ └── index.html │ ├── example-13 │ ├── data.csv │ └── index.html │ ├── example-14 │ ├── data.csv │ └── index.html │ ├── example-15 │ ├── data.csv │ └── index.html │ └── example-16 │ ├── data.csv │ └── index.html ├── data ├── README.md ├── UN-Population-Estimates │ ├── README.md │ ├── africa.csv │ ├── package-lock.json │ ├── package.json │ ├── processAfrica.js │ ├── wpp2017-medium-variant.csv │ └── wpp2017.csv ├── africa.csv ├── cars.csv └── iris.csv └── images ├── Idempotent.gif ├── ScaleChromatic.png ├── SchemeCategory10.png ├── U02-M01-CSV-Flow ├── .block ├── diagram.svg └── index.html ├── U02-M08-Scatter-Plot-No-Legend.png ├── U02-M08-Scatter-Plot-With-Legend.png ├── U02-M09-Area-Formula.png ├── U02-M09-Bubble-Sizing.png ├── U02-M09-Radius-Formula.png └── U02-M09-Scatter-Plot-With-SizeLegend.png /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | libs 3 | npm-debug.log 4 | example-viewer-dist 5 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Curran Kelleher 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /MONTAGE.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /archive/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Example Viewer 7 | 8 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /archive/montage.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Montage 5 | 6 | 7 | 8 | 76 | 77 | 78 | -------------------------------------------------------------------------------- /archive/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "d3-in-motion", 3 | "version": "0.0.1", 4 | "description": "Code examples and references for the course \"D3.js in Motion\".", 5 | "main": "index.js", 6 | "scripts": { 7 | "start": "example-viewer", 8 | "test": "echo \"Error: no test specified\" && exit 1" 9 | }, 10 | "repository": { 11 | "type": "git", 12 | "url": "git+https://github.com/curran/d3-in-motion.git" 13 | }, 14 | "keywords": [ 15 | "chart", 16 | "d3js", 17 | "data", 18 | "dataviz", 19 | "html5", 20 | "programming", 21 | "teaching", 22 | "visualization", 23 | "web" 24 | ], 25 | "author": "Curran Kelleher", 26 | "license": "MIT", 27 | "bugs": { 28 | "url": "https://github.com/curran/d3-in-motion/issues" 29 | }, 30 | "homepage": "https://github.com/curran/d3-in-motion#readme", 31 | "dependencies": { 32 | "example-viewer": "1.2.3" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /archive/retab.sh: -------------------------------------------------------------------------------- 1 | # Replaces all tabs with 2 spaces. 2 | # From http://stackoverflow.com/questions/11094383/how-can-i-convert-tabs-to-spaces-in-every-file-of-a-directory 3 | 4 | cd units 5 | find . -name 'index.html' -exec ex '+%s/\t/ /g' -cwq {} \; 6 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-01/example-01/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Nothing in this Module 5 | 6 | 7 |

Nothing to see...

8 |

Check out unit 2!

9 | 10 | 11 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-02/example-01/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Hello HTML 5 | 6 | 7 |

Hello HTML

8 | 9 | 10 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-02/example-02/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Hello DOM API 5 | 6 | 7 |

8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-02/example-03/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Hello D3 5 | 6 | 7 | 8 |

9 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-02/example-04/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Select 5 | 6 | 7 | 8 |

9 |

10 |

11 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-02/example-05/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Select 5 | 6 | 7 | 8 |

9 |

10 |

11 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-02/example-06/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Styling with CSS 5 | 10 | 11 | 12 |

Large Text

13 | 14 | 15 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-02/example-07/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Styling with D3 5 | 6 | 7 | 8 |

Large Text

9 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-02/example-08/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Classes with CSS 5 | 13 | 14 | 15 |
Large Title
16 |
This content is smaller than the title.
17 |
Another Title
18 |
This content is also smaller than the title.
19 | 20 | 21 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-02/example-09/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Classes with D3 5 | 6 | 7 | 8 |
Large Title
9 |
This content is smaller than the title.
10 |
Another Title
11 |
This content is also smaller than the title.
12 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-02/example-10/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | IDs with D3 5 | 6 | 7 | 8 |
9 |
10 |
11 |
12 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-02/example-11/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Appending Elements 5 | 6 | 7 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-02/example-12/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | D3 Indentation 5 | 6 | 7 | 8 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-02/example-13/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Setting Classes with D3 5 | 6 | 11 | 12 | 13 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-02/example-14/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Appending Many Things 5 | 13 | 14 | 15 | 16 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-02/example-15/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exercise 5 | 6 | 7 | 8 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-01/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | SVG Rectangle 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-02/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | SVG Width & Height 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-03/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Coordinate System 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-04/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | SVG with D3 I 5 | 6 | 7 | 8 | 9 | 10 | 11 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-05/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | SVG with D3 II 5 | 6 | 7 | 8 | 9 | 10 | 11 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-06/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | SVG with D3 III 5 | 6 | 7 | 8 | 9 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-07/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | SVG with D3 IV 5 | 6 | 7 | 8 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-08/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | SVG var Convention 5 | 6 | 7 | 8 | 9 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-09/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | SVG Circle 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-10/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | D3 Circle 5 | 6 | 7 | 8 | 9 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-11/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Fill 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-12/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Hex Colors 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-13/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | RGB Colors 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-14/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | RGBa (alpha) Colors 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-15/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Z Ordering 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-16/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Multiple Shapes with D3 5 | 6 | 7 | 8 | 9 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-17/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Stroke 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-18/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Stroke Width 5 | 6 | 7 | 8 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-03/example-19/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exercise 5 | 6 | 7 | 8 | 9 | 11 | 13 | 15 | 16 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-04/example-01/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | SVG Circles 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-04/example-02/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Data Join 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-04/example-03/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Update 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-04/example-04/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Enter 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-04/example-05/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Enter Only 5 | 6 | 7 | 8 | 9 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-04/example-06/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Variable for Data 5 | 6 | 7 | 8 | 9 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-04/example-07/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Objects as Data 5 | 6 | 7 | 8 | 9 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-04/example-08/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Pseudo Scatter Plot 5 | 6 | 7 | 8 | 9 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-04/example-09/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Bubbles 5 | 6 | 7 | 8 | 9 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-04/example-10/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exercise 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15 | 16 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-05/example-01/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Update and Enter 5 | 6 | 7 | 8 | 9 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-05/example-02/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Render Function 5 | 6 | 7 | 8 | 9 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-05/example-03/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Multiple Invocations 5 | 6 | 7 | 8 | 9 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-05/example-04/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | The Case for Exit 5 | 6 | 7 | 8 | 9 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-05/example-05/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Circles Variable 5 | 6 | 7 | 8 | 9 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-05/example-06/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exit 5 | 6 | 7 | 8 | 9 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-05/example-07/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Removing on Exit 5 | 6 | 7 | 8 | 9 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-05/example-08/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | The Case for Merge 5 | 6 | 7 | 8 | 9 | 28 | 29 | 30 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-05/example-09/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Using Merge 5 | 6 | 7 | 8 | 9 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-05/example-10/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exercise 5 | 6 | 7 | 8 | 9 | 37 | 38 | 39 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-06/example-01/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Background Circle 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-06/example-02/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | The Case for Classes 5 | 6 | 7 | 8 | 9 | 10 | 11 | 32 | 33 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-06/example-03/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Using Classes 5 | 6 | 7 | 8 | 9 | 10 | 11 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-06/example-04/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | The Case for One Thing 5 | 6 | 7 | 8 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-06/example-05/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Managing One Thing 5 | 6 | 7 | 8 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-06/example-06/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Compact Variation 5 | 6 | 7 | 8 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /archive/units/unit-01/module-06/example-07/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exercise 5 | 6 | 7 | 8 | 36 | 37 | 38 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-01/example-01/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Rendering Bubbles 5 | 6 | 7 | 8 | 9 | 50 | 51 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-01/example-02/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Rendering Bubbles ES6 5 | 6 | 7 | 8 | 9 | 47 | 48 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-01/example-03/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Using Babel Standalone 5 | 6 | 7 | 8 | 9 | 10 | 48 | 49 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-01/example-04/babelrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "presets": [ 3 | [ 4 | "es2015", 5 | { 6 | "modules": false 7 | } 8 | ] 9 | ] 10 | } -------------------------------------------------------------------------------- /archive/units/unit-02/module-01/example-04/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Using Rollup and Babel 5 | 10 | 11 | 12 | 13 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-01/example-04/index.js: -------------------------------------------------------------------------------- 1 | import { select } from "d3-selection"; 2 | 3 | const svg = select("svg"); 4 | 5 | function render(data){ 6 | const circles = svg.selectAll("circle").data(data); 7 | circles.exit().remove(); 8 | circles 9 | .enter().append("circle") 10 | .attr("fill", "rgba(255, 0, 0, 0.3)") 11 | .attr("stroke", "black") 12 | .merge(circles) 13 | .attr("cx", d => d.x) 14 | .attr("cy", d => d.y) 15 | .attr("r", d => d.r); 16 | } 17 | 18 | render([ 19 | { x: 300, y:150, r: 44 }, 20 | { x: 500, y:350, r: 51 }, 21 | { x: 700, y:200, r: 33 }, 22 | { x: 583, y:114, r: 77 }, 23 | { x: 844, y:218, r: 74 }, 24 | { x: 257, y:316, r: 44 }, 25 | { x: 466, y:200, r: 31 }, 26 | { x: 179, y:414, r: 50 }, 27 | { x: 179, y:231, r: 36 }, 28 | { x: 376, y:326, r: 26 }, 29 | { x: 676, y:118, r: 68 }, 30 | { x: 626, y:199, r: 68 }, 31 | { x: 510, y:269, r: 15 }, 32 | { x: 510, y:419, r: 15 }, 33 | { x: 311, y:388, r: 15 }, 34 | { x: 50, y:388, r: 6 }, 35 | { x: 90, y:431, r: 6 }, 36 | { x: 90, y:287, r: 11 }, 37 | { x: 630, y:145, r: 11 } 38 | ]); -------------------------------------------------------------------------------- /archive/units/unit-02/module-01/example-04/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "rollup-and-babel-example", 3 | "version": "1.0.0", 4 | "scripts": { 5 | "build": "rollup -c && uglifyjs bundle.js --overwrite" 6 | }, 7 | "devDependencies": { 8 | "babel-preset-es2015": "^6.24.0", 9 | "rollup": "^0.41.6", 10 | "rollup-plugin-babel": "^2.7.1", 11 | "rollup-plugin-node-resolve": "^2.0.0", 12 | "uglify-js": "^2.8.14" 13 | }, 14 | "dependencies": { 15 | "d3-selection": "^1.0.5" 16 | } 17 | } -------------------------------------------------------------------------------- /archive/units/unit-02/module-01/example-04/rollup.config.js: -------------------------------------------------------------------------------- 1 | import npm from "rollup-plugin-node-resolve"; 2 | import babel from "rollup-plugin-babel"; 3 | 4 | export default { 5 | entry: "index.js", 6 | format: "iife", 7 | plugins: [ 8 | npm(), 9 | babel({ 10 | exclude: "node_modules/**" 11 | }) 12 | ], 13 | dest: "bundle.js" 14 | }; -------------------------------------------------------------------------------- /archive/units/unit-02/module-01/example-05/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exercise 5 | 6 | 7 | 8 | 9 | 52 | 53 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-02/example-01/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Rendering Bubbles ES6 5 | 6 | 7 | 8 | 9 | 49 | 50 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-02/example-02/data.csv: -------------------------------------------------------------------------------- 1 | x,y,r 2 | 300,150,44 3 | 500,350,51 4 | 700,200,33 5 | 583,114,77 6 | 844,218,74 7 | 257,316,44 8 | 466,200,31 9 | 179,414,50 10 | 179,231,36 11 | 376,326,26 12 | 676,118,68 13 | 626,199,68 14 | 510,269,15 15 | 510,419,15 16 | 311,388,15 17 | 50,388,6 18 | 90,431,6 19 | 90,287,11 20 | 630,145,11 -------------------------------------------------------------------------------- /archive/units/unit-02/module-02/example-02/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Loading a CSV File 5 | 6 | 7 | 8 | 9 | 10 | 29 | 30 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-02/example-03/data.csv: -------------------------------------------------------------------------------- 1 | x,y,r 2 | 300,150,44 3 | 500,350,51 4 | 700,200,33 5 | 583,114,77 6 | 844,218,74 7 | 257,316,44 8 | 466,200,31 9 | 179,414,50 10 | 179,231,36 11 | 376,326,26 12 | 676,118,68 13 | 626,199,68 14 | 510,269,15 15 | 510,419,15 16 | 311,388,15 17 | 50,388,6 18 | 90,431,6 19 | 90,287,11 20 | 630,145,11 -------------------------------------------------------------------------------- /archive/units/unit-02/module-02/example-03/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Inspecting Parsed Data 5 | 6 | 7 | 8 | 20 | 21 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-02/example-04/data.csv: -------------------------------------------------------------------------------- 1 | x,y,r 2 | 300,150,44 3 | 500,350,51 4 | 700,200,33 5 | 583,114,77 6 | 844,218,74 7 | 257,316,44 8 | 466,200,31 9 | 179,414,50 10 | 179,231,36 11 | 376,326,26 12 | 676,118,68 13 | 626,199,68 14 | 510,269,15 15 | 510,419,15 16 | 311,388,15 17 | 50,388,6 18 | 90,431,6 19 | 90,287,11 20 | 630,145,11 -------------------------------------------------------------------------------- /archive/units/unit-02/module-02/example-04/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Parsing Numbers 5 | 6 | 7 | 8 | 27 | 28 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-02/example-05/data.csv: -------------------------------------------------------------------------------- 1 | x,y,r 2 | 300,150,44 3 | 500,350,51 4 | 700,200,33 5 | 583,114,77 6 | 844,218,74 7 | 257,316,44 8 | 466,200,31 9 | 179,414,50 10 | 179,231,36 11 | 376,326,26 12 | 676,118,68 13 | 626,199,68 14 | 510,269,15 15 | 510,419,15 16 | 311,388,15 17 | 50,388,6 18 | 90,431,6 19 | 90,287,11 20 | 630,145,11 -------------------------------------------------------------------------------- /archive/units/unit-02/module-02/example-05/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | CSV Bubbles 5 | 6 | 7 | 8 | 9 | 10 | 36 | 37 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-02/example-06/data.csv: -------------------------------------------------------------------------------- 1 | x,y,r,color 2 | 300,150,44,black 3 | 500,350,51,silver 4 | 700,200,33,gray 5 | 583,114,77,white 6 | 844,218,74,maroon 7 | 257,316,44,red 8 | 466,200,31,purple 9 | 179,414,50,fuchsia 10 | 179,231,36,green 11 | 376,326,26,lime 12 | 676,118,68,olive 13 | 626,199,68,yellow 14 | 510,269,15,navy 15 | 510,419,15,blue 16 | 311,388,15,teal 17 | 50,388,6,aqua 18 | 90,431,6,blueviolet 19 | 90,287,11,brown 20 | 630,145,11,burlywood -------------------------------------------------------------------------------- /archive/units/unit-02/module-02/example-06/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exercise 5 | 6 | 7 | 8 | 9 | 48 | 49 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-03/example-01/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | The Iris Dataset 5 | 6 | 7 | 8 | 9 | 34 | 35 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-03/example-02/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Scaling Position 5 | 6 | 7 | 8 | 9 | 34 | 35 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-03/example-03/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Value Accessor Pattern 5 | 6 | 7 | 8 | 9 | 37 | 38 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-03/example-04/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Scaling to Bottom Right 5 | 6 | 7 | 8 | 9 | 43 | 44 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-03/example-05/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Using d3.max 5 | 6 | 7 | 8 | 9 | 42 | 43 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-03/example-06/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Domain Concept 5 | 6 | 7 | 8 | 9 | 42 | 43 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-03/example-07/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Range Concept 5 | 6 | 7 | 8 | 9 | 45 | 46 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-03/example-08/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Using d3.scaleLinear 5 | 6 | 7 | 8 | 9 | 48 | 49 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-03/example-09/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Reorganizing 5 | 6 | 7 | 8 | 9 | 48 | 49 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-03/example-10/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Using d3.min 5 | 6 | 7 | 8 | 9 | 48 | 49 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-03/example-11/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Using d3.extent 5 | 6 | 7 | 8 | 9 | 48 | 49 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-03/example-12/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Flipping Y 5 | 6 | 7 | 8 | 9 | 48 | 49 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-03/example-13/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Optimization 5 | 6 | 7 | 8 | 9 | 46 | 47 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-03/example-14/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exercise 5 | 6 | 7 | 8 | 9 | 50 | 51 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-04/example-01/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Optimization 5 | 6 | 7 | 8 | 9 | 47 | 48 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-04/example-02/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Margin Concept 5 | 6 | 7 | 8 | 9 | 47 | 48 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-04/example-03/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Margin Rectangle 5 | 6 | 7 | 8 | 9 | 52 | 53 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-04/example-04/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | SVG Group 5 | 6 | 7 | 8 | 9 | 55 | 56 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-04/example-05/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Margin Convention 5 | 6 | 7 | 8 | 9 | 55 | 56 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-04/example-06/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Non-idempotent Render 5 | 6 | 7 | 8 | 9 | 63 | 64 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-04/example-07/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Idempotent Render 5 | 6 | 7 | 8 | 9 | 64 | 65 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-04/example-08/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Dynamic Margin 5 | 6 | 7 | 8 | 9 | 68 | 69 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-04/example-09/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Exercise 5 | 6 | 7 | 8 | 9 | 66 | 67 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-05/example-01/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Margin Convention 5 | 6 | 7 | 8 | 9 | 56 | 57 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-05/example-02/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Y Axis 5 | 6 | 7 | 8 | 9 | 54 | 55 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-05/example-03/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Using selection.call 5 | 6 | 7 | 8 | 9 | 54 | 55 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-05/example-04/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Y Axis on the Right 5 | 6 | 7 | 8 | 9 | 55 | 56 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-05/example-05/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | X Axis 5 | 6 | 7 | 8 | 9 | 55 | 56 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-05/example-06/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | X Axis on the Top 5 | 6 | 7 | 8 | 9 | 54 | 55 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-05/example-07/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | X and Y Axes 5 | 6 | 7 | 8 | 9 | 58 | 59 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-05/example-08/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Dynamic Margin 5 | 6 | 7 | 8 | 9 | 69 | 70 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-05/example-09/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Non-idempotent Axes 5 | 6 | 7 | 8 | 9 | 71 | 72 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-05/example-10/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Idempotent Axes Fail 5 | 6 | 7 | 8 | 9 | 73 | 74 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-06/example-01/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | X and Y Axes 5 | 6 | 7 | 8 | 9 | 59 | 60 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-06/example-02/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Styling Axes with CSS 5 | 6 | 20 | 21 | 22 | 23 | 74 | 75 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-06/example-03/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | axis.ticks() 5 | 6 | 20 | 21 | 22 | 23 | 77 | 78 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-06/example-04/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | axis.tickSizeOuter() 5 | 6 | 20 | 21 | 22 | 23 | 79 | 80 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-06/example-05/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | axis.tickSizeInner() 5 | 6 | 20 | 21 | 22 | 23 | 79 | 80 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-06/example-06/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | scale.nice() 5 | 6 | 20 | 21 | 22 | 23 | 81 | 82 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-06/example-07/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Hiding the Domain Line 5 | 6 | 19 | 20 | 21 | 22 | 80 | 81 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-06/example-08/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Tick Grid 5 | 6 | 19 | 20 | 21 | 22 | 82 | 83 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-06/example-09/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | axis.tickPadding() 5 | 6 | 19 | 20 | 21 | 22 | 84 | 85 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-08/example-01/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Color Legend Circles 5 | 6 | 7 | 8 | 9 | 24 | 25 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-08/example-02/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Color Legend Text 5 | 6 | 14 | 15 | 16 | 17 | 41 | 42 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-08/example-03/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Color Legend Variables 5 | 6 | 15 | 16 | 17 | 18 | 48 | 49 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-08/example-04/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Color Legend Groups 5 | 6 | 14 | 15 | 16 | 17 | 52 | 53 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-08/example-05/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Color Legend Label 5 | 6 | 19 | 20 | 21 | 22 | 67 | 68 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-08/example-06/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Color Legend Function 5 | 6 | 19 | 20 | 21 | 22 | 79 | 80 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-08/example-08/preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curran/d3-in-motion/bcc652226bd1934ce161667487c582ddeaaa1e96/archive/units/unit-02/module-08/example-08/preview.png -------------------------------------------------------------------------------- /archive/units/unit-02/module-08/example-08/thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curran/d3-in-motion/bcc652226bd1934ce161667487c582ddeaaa1e96/archive/units/unit-02/module-08/example-08/thumbnail.png -------------------------------------------------------------------------------- /archive/units/unit-02/module-09/example-03/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Size Legend Circles 5 | 6 | 7 | 8 | 9 | 25 | 26 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-09/example-04/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Size Legend Variables 5 | 6 | 7 | 8 | 9 | 33 | 34 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-10/example-02/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Complete Color Legend 5 | 6 | 19 | 20 | 21 | 22 | 72 | 73 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-10/example-03/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Color Legend Component 5 | 6 | 19 | 20 | 21 | 22 | 23 | 73 | 74 | -------------------------------------------------------------------------------- /archive/units/unit-02/module-10/example-04/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Size Legend Component 5 | 6 | 19 | 20 | 21 | 22 | 23 | 87 | 88 | -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-01/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Drawing a Rectangle 5 | 6 | 7 | 8 | 9 | 17 | 18 | -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-02/data.csv: -------------------------------------------------------------------------------- 1 | country,population 2 | China,1376048943 3 | India,1311050527 4 | USA,321773631 5 | Indonesia,257563815 6 | Brazil,207847528 -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-02/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Population Data 5 | 6 | 7 | 8 | 16 | 17 | -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-03/data.csv: -------------------------------------------------------------------------------- 1 | country,population 2 | China,1376048943 3 | India,1311050527 4 | USA,321773631 5 | Indonesia,257563815 6 | Brazil,207847528 -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-03/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Parsing Population 5 | 6 | 7 | 8 | 21 | 22 | -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-04/data.csv: -------------------------------------------------------------------------------- 1 | country,population 2 | China,1376048943 3 | India,1311050527 4 | USA,321773631 5 | Indonesia,257563815 6 | Brazil,207847528 -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-04/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Rendering Rectangles 5 | 6 | 7 | 8 | 9 | 28 | 29 | -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-05/data.csv: -------------------------------------------------------------------------------- 1 | country,population 2 | China,1376048943 3 | India,1311050527 4 | USA,321773631 5 | Indonesia,257563815 6 | Brazil,207847528 -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-05/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Using d3.scaleBand 5 | 6 | 7 | 8 | 9 | 37 | 38 | -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-06/data.csv: -------------------------------------------------------------------------------- 1 | country,population 2 | China,1376048943 3 | India,1311050527 4 | USA,321773631 5 | Indonesia,257563815 6 | Brazil,207847528 -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-06/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | d3.scaleBand Padding 5 | 6 | 7 | 8 | 9 | 37 | 38 | -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-07/data.csv: -------------------------------------------------------------------------------- 1 | country,population 2 | China,1376048943 3 | India,1311050527 4 | USA,321773631 5 | Indonesia,257563815 6 | Brazil,207847528 -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-07/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Introducing the Y Scale 5 | 6 | 7 | 8 | 9 | 41 | 42 | -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-08/data.csv: -------------------------------------------------------------------------------- 1 | country,population 2 | China,1376048943 3 | India,1311050527 4 | USA,321773631 5 | Indonesia,257563815 6 | Brazil,207847528 -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-08/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Flipping Bars 5 | 6 | 7 | 8 | 9 | 41 | 42 | -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-09/data.csv: -------------------------------------------------------------------------------- 1 | country,population 2 | China,1376048943 3 | India,1311050527 4 | USA,321773631 5 | Indonesia,257563815 6 | Brazil,207847528 -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-09/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Margin Convention 5 | 6 | 7 | 8 | 9 | 47 | 48 | -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-10/data.csv: -------------------------------------------------------------------------------- 1 | country,population 2 | China,1376048943 3 | India,1311050527 4 | USA,321773631 5 | Indonesia,257563815 6 | Brazil,207847528 -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-10/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Adding Axes 5 | 6 | 7 | 8 | 9 | 54 | 55 | -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-11/data.csv: -------------------------------------------------------------------------------- 1 | country,population 2 | China,1376048943 3 | India,1311050527 4 | USA,321773631 5 | Indonesia,257563815 6 | Brazil,207847528 -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-11/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Flipping the Y Axes 5 | 6 | 7 | 8 | 9 | 54 | 55 | -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-12/data.csv: -------------------------------------------------------------------------------- 1 | country,population 2 | China,1376048943 3 | India,1311050527 4 | USA,321773631 5 | Indonesia,257563815 6 | Brazil,207847528 -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-12/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Customizing Axes 5 | 6 | 24 | 25 | 26 | 27 | 79 | 80 | -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-13/data.csv: -------------------------------------------------------------------------------- 1 | country,population 2 | China,1376048943 3 | India,1311050527 4 | USA,321773631 5 | Indonesia,257563815 6 | Brazil,207847528 -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-13/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Custom Tick Format 5 | 6 | 24 | 25 | 26 | 27 | 80 | 81 | -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-14/data.csv: -------------------------------------------------------------------------------- 1 | country,population 2 | China,1376048943 3 | India,1311050527 4 | USA,321773631 5 | Indonesia,257563815 6 | Brazil,207847528 -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-14/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Finishing Touches 5 | 6 | 27 | 28 | 29 | 30 | 88 | 89 | -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-15/data.csv: -------------------------------------------------------------------------------- 1 | country,population 2 | China,1376048943 3 | India,1311050527 4 | USA,321773631 5 | Indonesia,257563815 6 | Brazil,207847528 -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-16/data.csv: -------------------------------------------------------------------------------- 1 | country,population 2 | China,1376048943 3 | India,1311050527 4 | USA,321773631 5 | Indonesia,257563815 6 | Brazil,207847528 -------------------------------------------------------------------------------- /archive/units/unit-03/module-01/example-16/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Solution 5 | 6 | 27 | 28 | 29 | 30 | 89 | 90 | -------------------------------------------------------------------------------- /data/README.md: -------------------------------------------------------------------------------- 1 | * `iris.csv` is derived from [UCI Machine Learning Repository: Iris Data Set](https://archive.ics.uci.edu/ml/datasets/Iris), this small dataset from 1936 is often used for testing out machine learning algorithms and visualizations. Each row of the table represents an iris flower, including its species and dimensions of its botanical parts, sepal and petal, in centimeters. 2 | * `cars.csv` is derived from [UCI Machine Learning Repository: Auto MPG Data Set](https://archive.ics.uci.edu/ml/datasets/auto+mpg). 3 | * `africa.csv` is derived from the [United Nations World Population Prospects 2017](https://esa.un.org/unpd/wpp/Download/Standard/Population/), using the "medium" variant to predict into the future. The D3-based pre-processing script that generated this CSV file from the original two spreadsheet tables can be found under [UN-Population-Estimates](https://github.com/curran/d3-in-motion/tree/master/data/UN-Population-Estimates). 4 | -------------------------------------------------------------------------------- /data/UN-Population-Estimates/README.md: -------------------------------------------------------------------------------- 1 | This directory contains historical population estimates data derived from the [United Nations World Population Prospects 2017](https://esa.un.org/unpd/wpp/Download/Standard/Population/). 2 | -------------------------------------------------------------------------------- /data/UN-Population-Estimates/africa.csv: -------------------------------------------------------------------------------- 1 | year,population 2 | 1950,228670 3 | 1951,233277 4 | 1952,238113 5 | 1953,243178 6 | 1954,248471 7 | 1955,253995 8 | 1956,259750 9 | 1957,265739 10 | 1958,271965 11 | 1959,278432 12 | 1960,285142 13 | 1961,292100 14 | 1962,299309 15 | 1963,306772 16 | 1964,314491 17 | 1965,322471 18 | 1966,330720 19 | 1967,339248 20 | 1968,348050 21 | 1969,357120 22 | 1970,366459 23 | 1971,376067 24 | 1972,385965 25 | 1973,396199 26 | 1974,406828 27 | 1975,417898 28 | 1976,429425 29 | 1977,441404 30 | 1978,453835 31 | 1979,466707 32 | 1980,480012 33 | 1981,493748 34 | 1982,507910 35 | 1983,522486 36 | 1984,537454 37 | 1985,552796 38 | 1986,568506 39 | 1987,584569 40 | 1988,600957 41 | 1989,617632 42 | 1990,634567 43 | 1991,651763 44 | 1992,669221 45 | 1993,686917 46 | 1994,704821 47 | 1995,722922 48 | 1996,741221 49 | 1997,759753 50 | 1998,778592 51 | 1999,797836 52 | 2000,817566 53 | 2001,837821 54 | 2002,858623 55 | 2003,880017 56 | 2004,902049 57 | 2005,924758 58 | 2006,948156 59 | 2007,972266 60 | 2008,997145 61 | 2009,1022859 62 | 2010,1049446 63 | 2011,1076934 64 | 2012,1105285 65 | 2013,1134398 66 | 2014,1164130 67 | 2015,1194370 68 | 2016,1225081 69 | 2017,1256268 70 | 2018,1287921 71 | 2019,1320039 72 | 2020,1352622 73 | 2021,1385655 74 | 2022,1419122 75 | 2023,1453034 76 | 2024,1487406 77 | 2025,1522250 78 | 2026,1557563 79 | 2027,1593338 80 | 2028,1629586 81 | 2029,1666317 82 | 2030,1703538 83 | 2031,1741244 84 | 2032,1779425 85 | 2033,1818072 86 | 2034,1857170 87 | 2035,1896704 88 | 2036,1936661 89 | 2037,1977027 90 | 2038,2017774 91 | 2039,2058875 92 | 2040,2100302 93 | 2041,2142034 94 | 2042,2184053 95 | 2043,2226332 96 | 2044,2268843 97 | 2045,2311561 98 | 2046,2354464 99 | 2047,2397532 100 | 2048,2440747 101 | 2049,2484094 102 | 2050,2527557 103 | 2051,2571117 104 | 2052,2614756 105 | 2053,2658451 106 | 2054,2702181 107 | 2055,2745926 108 | 2056,2789667 109 | 2057,2833388 110 | 2058,2877082 111 | 2059,2920739 112 | 2060,2964353 113 | 2061,3007907 114 | 2062,3051382 115 | 2063,3094761 116 | 2064,3138027 117 | 2065,3181161 118 | 2066,3224145 119 | 2067,3266962 120 | 2068,3309588 121 | 2069,3351999 122 | 2070,3394171 123 | 2071,3436086 124 | 2072,3477727 125 | 2073,3519072 126 | 2074,3560102 127 | 2075,3600798 128 | 2076,3641141 129 | 2077,3681117 130 | 2078,3720708 131 | 2079,3759901 132 | 2080,3798682 133 | 2081,3837035 134 | 2082,3874945 135 | 2083,3912399 136 | 2084,3949384 137 | 2085,3985887 138 | 2086,4021894 139 | 2087,4057394 140 | 2088,4092373 141 | 2089,4126818 142 | 2090,4160717 143 | 2091,4194057 144 | 2092,4226830 145 | 2093,4259027 146 | 2094,4290639 147 | 2095,4321658 148 | 2096,4352076 149 | 2097,4381886 150 | 2098,4411080 151 | 2099,4439650 152 | 2100,4467588 153 | -------------------------------------------------------------------------------- /data/UN-Population-Estimates/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "un-population-estimates", 3 | "version": "1.0.0", 4 | "description": "This directory contains historical population estimates data derived from the [United Nations World Population Prospects 2017](https://esa.un.org/unpd/wpp/Download/Standard/Population/).", 5 | "main": "processAfrica.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "author": "", 10 | "license": "ISC", 11 | "dependencies": { 12 | "d3": "^4.10.2" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /data/UN-Population-Estimates/processAfrica.js: -------------------------------------------------------------------------------- 1 | const fs = require('fs'); 2 | const d3 = require('d3'); 3 | const csv1In = fs.readFileSync('wpp2017.csv', 'utf8'); 4 | const csv2In = fs.readFileSync('wpp2017-medium-variant.csv', 'utf8'); 5 | const data1In = d3.csvParse(csv1In); 6 | const data2In = d3.csvParse(csv2In); 7 | const dataIn = data1In.map((d, i) => Object.assign(d, data2In[i])); 8 | const name = d => d['Region, subregion, country or area *']; 9 | const years = d3.range(1950,2100 + 1); 10 | const africa = dataIn.filter(d => name(d) === 'AFRICA')[0]; 11 | const dataOut = years.map(year => ({ 12 | year, 13 | population: +africa[year].replace(/ /g, '') 14 | })); 15 | const csvOut = d3.csvFormat(dataOut); 16 | fs.writeFileSync('africa.csv', csvOut); 17 | -------------------------------------------------------------------------------- /data/africa.csv: -------------------------------------------------------------------------------- 1 | year,population 2 | 1950,228670 3 | 1951,233277 4 | 1952,238113 5 | 1953,243178 6 | 1954,248471 7 | 1955,253995 8 | 1956,259750 9 | 1957,265739 10 | 1958,271965 11 | 1959,278432 12 | 1960,285142 13 | 1961,292100 14 | 1962,299309 15 | 1963,306772 16 | 1964,314491 17 | 1965,322471 18 | 1966,330720 19 | 1967,339248 20 | 1968,348050 21 | 1969,357120 22 | 1970,366459 23 | 1971,376067 24 | 1972,385965 25 | 1973,396199 26 | 1974,406828 27 | 1975,417898 28 | 1976,429425 29 | 1977,441404 30 | 1978,453835 31 | 1979,466707 32 | 1980,480012 33 | 1981,493748 34 | 1982,507910 35 | 1983,522486 36 | 1984,537454 37 | 1985,552796 38 | 1986,568506 39 | 1987,584569 40 | 1988,600957 41 | 1989,617632 42 | 1990,634567 43 | 1991,651763 44 | 1992,669221 45 | 1993,686917 46 | 1994,704821 47 | 1995,722922 48 | 1996,741221 49 | 1997,759753 50 | 1998,778592 51 | 1999,797836 52 | 2000,817566 53 | 2001,837821 54 | 2002,858623 55 | 2003,880017 56 | 2004,902049 57 | 2005,924758 58 | 2006,948156 59 | 2007,972266 60 | 2008,997145 61 | 2009,1022859 62 | 2010,1049446 63 | 2011,1076934 64 | 2012,1105285 65 | 2013,1134398 66 | 2014,1164130 67 | 2015,1194370 68 | 2016,1225081 69 | 2017,1256268 70 | 2018,1287921 71 | 2019,1320039 72 | 2020,1352622 73 | 2021,1385655 74 | 2022,1419122 75 | 2023,1453034 76 | 2024,1487406 77 | 2025,1522250 78 | 2026,1557563 79 | 2027,1593338 80 | 2028,1629586 81 | 2029,1666317 82 | 2030,1703538 83 | 2031,1741244 84 | 2032,1779425 85 | 2033,1818072 86 | 2034,1857170 87 | 2035,1896704 88 | 2036,1936661 89 | 2037,1977027 90 | 2038,2017774 91 | 2039,2058875 92 | 2040,2100302 93 | 2041,2142034 94 | 2042,2184053 95 | 2043,2226332 96 | 2044,2268843 97 | 2045,2311561 98 | 2046,2354464 99 | 2047,2397532 100 | 2048,2440747 101 | 2049,2484094 102 | 2050,2527557 103 | 2051,2571117 104 | 2052,2614756 105 | 2053,2658451 106 | 2054,2702181 107 | 2055,2745926 108 | 2056,2789667 109 | 2057,2833388 110 | 2058,2877082 111 | 2059,2920739 112 | 2060,2964353 113 | 2061,3007907 114 | 2062,3051382 115 | 2063,3094761 116 | 2064,3138027 117 | 2065,3181161 118 | 2066,3224145 119 | 2067,3266962 120 | 2068,3309588 121 | 2069,3351999 122 | 2070,3394171 123 | 2071,3436086 124 | 2072,3477727 125 | 2073,3519072 126 | 2074,3560102 127 | 2075,3600798 128 | 2076,3641141 129 | 2077,3681117 130 | 2078,3720708 131 | 2079,3759901 132 | 2080,3798682 133 | 2081,3837035 134 | 2082,3874945 135 | 2083,3912399 136 | 2084,3949384 137 | 2085,3985887 138 | 2086,4021894 139 | 2087,4057394 140 | 2088,4092373 141 | 2089,4126818 142 | 2090,4160717 143 | 2091,4194057 144 | 2092,4226830 145 | 2093,4259027 146 | 2094,4290639 147 | 2095,4321658 148 | 2096,4352076 149 | 2097,4381886 150 | 2098,4411080 151 | 2099,4439650 152 | 2100,4467588 153 | -------------------------------------------------------------------------------- /images/Idempotent.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curran/d3-in-motion/bcc652226bd1934ce161667487c582ddeaaa1e96/images/Idempotent.gif -------------------------------------------------------------------------------- /images/ScaleChromatic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curran/d3-in-motion/bcc652226bd1934ce161667487c582ddeaaa1e96/images/ScaleChromatic.png -------------------------------------------------------------------------------- /images/SchemeCategory10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curran/d3-in-motion/bcc652226bd1934ce161667487c582ddeaaa1e96/images/SchemeCategory10.png -------------------------------------------------------------------------------- /images/U02-M01-CSV-Flow/.block: -------------------------------------------------------------------------------- 1 | license: mit -------------------------------------------------------------------------------- /images/U02-M01-CSV-Flow/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 8 | 9 | 10 | 11 | 12 | 27 | 28 | -------------------------------------------------------------------------------- /images/U02-M08-Scatter-Plot-No-Legend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curran/d3-in-motion/bcc652226bd1934ce161667487c582ddeaaa1e96/images/U02-M08-Scatter-Plot-No-Legend.png -------------------------------------------------------------------------------- /images/U02-M08-Scatter-Plot-With-Legend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curran/d3-in-motion/bcc652226bd1934ce161667487c582ddeaaa1e96/images/U02-M08-Scatter-Plot-With-Legend.png -------------------------------------------------------------------------------- /images/U02-M09-Area-Formula.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curran/d3-in-motion/bcc652226bd1934ce161667487c582ddeaaa1e96/images/U02-M09-Area-Formula.png -------------------------------------------------------------------------------- /images/U02-M09-Bubble-Sizing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curran/d3-in-motion/bcc652226bd1934ce161667487c582ddeaaa1e96/images/U02-M09-Bubble-Sizing.png -------------------------------------------------------------------------------- /images/U02-M09-Radius-Formula.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curran/d3-in-motion/bcc652226bd1934ce161667487c582ddeaaa1e96/images/U02-M09-Radius-Formula.png -------------------------------------------------------------------------------- /images/U02-M09-Scatter-Plot-With-SizeLegend.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/curran/d3-in-motion/bcc652226bd1934ce161667487c582ddeaaa1e96/images/U02-M09-Scatter-Plot-With-SizeLegend.png --------------------------------------------------------------------------------