• Stars
    star
    103
  • Rank 333,046 (Top 7 %)
  • Language
    JavaScript
  • Created over 8 years ago
  • Updated over 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

These are the slides and visualization examples from my talk “SVGs beyond mere shapes”

SVGs beyond mere shapes

The entire interactive presentation

In this repo you can find the slides and underlying code for the presentation titled "SVGs beyond mere shapes". It might take a few seconds to load, but you should see something within ±10 seconds. Note that the presentation has a few CPU heavy slides, especially those with continuously moving objects

Please, please look at these slides in Chrome

Tested with Chrome, Firefox and Safari. Definitely meant to be seen in Chrome. Even more so at a resolution of 1920x1080

SVGs beyond mere shapes

Watch the video of the presentation itself that Bocoup made available

SVGs beyond mere shapes - slides

Notes

If you're looking at the presentation at a different resolution than 1920x1080 the text has the tendency to twitch whenever you click on the next arrow and an animation occurs within the same slide. Not sure why this is...

The slides are meant to be viewed in a forward direction. I tried to make all slides work while you click back as well, but there might be some things that don't run quite right.

Some slides automatically run through a set of animations after a certain number of "next" key presses:

  • The "planets-code" slide: After seeing an orange circle, press next one more time and the other 4 animations follow after a few seconds
  • The "stretched-chord" slide: After the first next the other animations that change the chord diagram into a stretched chord diagram are automatic
  • The "colorAdd-code" slide: After going next when you see the infinity loop of circles without a blend mode, the other color and blend mode options follow automatically, each several seconds after the other

There are also some animations that might take a second or so to start running after pressing the next arrow :)

If, for whatever strange reason, you don't want to use Chrome, here are some quirks with other browsers:

  • Safari can't handle any spreadMethod besides the default "pad". Take a look at these examples in Safari. Therefore, I made changes to the intro and stretched chord diagram ("batplot") to make it seem as if it is working in Safari too. But for the "Minard" slide this was too much of a hassle, so that one might look a bit odd in Safari
  • It also seems that Safari can't handle the moving slider in the "title-slide" and the "intro-slider" slides (the one right before the Baby names slide), so I've deactivated the slider movement for Safari
  • The colorAdd-blend-modes slide (with the 2 pairs of 3 overlapping circles with multiply and screen above them): you might see black circles for multiply. This was a bug and is fixed in the newest Firefox, so please update
  • Never checked in IE, I'm guessing it would just be too horrible to look at...

Inside the slides/slides folder you'll see another layer of folders. Here each slide has gotten its own folder, but the numbering is based on the order in which I made them and not on the order on which they appear on the screen (this you can find in the index.html file).

I've used the code developed by ptamarit to use D3 (and D3 transitions) in RevealJS slides

Bonus

Some extra interactivity that is possible that might not be apparent at first sight:

  • In the "smooth-legend-SOM" slide with the Self-Organizing-Map (the hexagonal heatmap), move your mouse over the hexagons
  • In the "orientation-final" slide, with the final result of the Avengers Chord Diagram, wait and see each Avenger highlighted in (random) turn
  • In the "baby-names-final" slide, with the Baby names visual. This one is fully functional, so you can move the window at the bottom and hover over each line to see the name
  • In the "slider-move-code" slide on the last section (after the grey-purple-grey rectangle is gone again), drag the coloured window. You can also increase and decrease the window by moving the ends of the coloured section
  • In the "growth-bmi" slide, with all the lines going from grey to orange/red hover over the lines to see which country it is
  • In the "spirograph" slide, click anywhere to get a different one drawn
  • In the "collision-detection" slide, play with the circles and gooey with your mouse. However this only works properly if your window is at the 1920x1080 resolution

More Repositories

1

d3-loom

d3 plugin to create a loom chart layout (for d3-v4)
JavaScript
93
star
2

Chord-Diagram-Storytelling

Using storytelling to explain a Chord Diagram about phone brand switching behaviour
JavaScript
56
star
3

exoplanets

Orbits of almost 300 exoplanets
JavaScript
43
star
4

babyspikelivecoding

The code from my Live Coding talk in which I recreate the Baby Spike visual I made for the Scientific American magazine
JavaScript
41
star
5

hackingthevisualnorm

The interactive slides of my talk "Hacking the Visual Norm"
JavaScript
37
star
6

olympicfeathers

Visualizing all ±5000 gold medallists since the first Olympic Games in 1896
JavaScript
37
star
7

datasketches

A monthly collaboration project between Shirley & Nadieh
34
star
8

urbanization

A storytelling/narrative approach to explaining the urbanization in East Asia between 2000 and 2010
JavaScript
27
star
9

freshdatashapes

A 3-minute presentation on visualizing math
JavaScript
21
star
10

occupationscanvas

The "Division of Occupations" piece remade in canvas
JavaScript
20
star
11

svggradienttutorial

Repo that goes with the "Boost D3.js Charts with SVG Gradients" NET magazine tutorial
HTML
16
star
12

datasketchespresentation

A presentation about data sketches
JavaScript
12
star
13

spirograph

Create your own spirograph art
JavaScript
12
star
14

top2000equalizer

JavaScript
11
star
15

canvastutorial

A short introduction to HTML5 canvas
HTML
11
star
16

babynames

The baby names project that shows the evolution of the top 10 most popular baby names in the US since 1880
JavaScript
10
star
17

beautiful-in-english

Dive into the most popular words translated into English through Google Translate
JavaScript
7
star
18

cardcaptorsakura

Discover all of Cardcaptor Sakura and see why it's one of the most beautiful manga ever made
JavaScript
6
star
19

visualizingconnections

The slides for my talk "Visualizing Connections"
JavaScript
6
star
20

occupations

The division of occupations in the US
JavaScript
6
star
21

svgsbeyondmereshapes

Presentation on how to go beyond the SVG shapes for Data Visualization
JavaScript
6
star
22

royalconstellations

Explore a thousand years of ancestral connections in the European royal families
JavaScript
5
star
23

top2000vinyl

Visualizing the top 2000 songs according to their year of release
JavaScript
4
star
24

dragonballz

Dive into all of the fights that happened in the Dragon Ball Z anime
JavaScript
4
star
25

figuresinthesky

How current & past cultures across the World have seen their myths and legends in the stars
JavaScript
4
star
26

vacations

Visualizing all of the vacations that I've ever been on
JavaScript
3
star
27

solarsystemsizes

Comparing sizes of the planets and our Sun
JavaScript
3
star
28

lotr

A data visualization showing the words spoken in the Lord of the Rings
JavaScript
3
star
29

top2000

See which release years are most popular of the Top 2000 best songs ever
JavaScript
2
star
30

marblebutterflies

Driven by butterfly data, let these generative butterflies free across your screen to evolve & develop and watch
JavaScript
2
star
31

magiciseverywhere

Visualizing patterns in the titles of nearly 1000 Fantasy books
JavaScript
2
star
32

babynamesnl

The top 10 babynames since 1880 - Netherlands
JavaScript
1
star
33

sotseducation

State of the State - Education
JavaScript
1
star
34

sotshousedot

State of the State - Just the Dot plot - for NRCQ
JavaScript
1
star
35

inenglish

Looking into the most translated words on Google
JavaScript
1
star
36

accidentstraffic2013

Traffic accidents in 2013 in the Netherlands
R
1
star
37

golf

Trackman visuals for Deloitte Ladies Open
JavaScript
1
star
38

breathingearth

Watch and be mesmerized by our Earth going through a year of plant growth & decline in high detail
JavaScript
1
star
39

christmas-card-2023

A dataviz Christmas Card for 2023 - I'm Dreaming of a White Christmas
JavaScript
1
star