Skip to content
seliopou edited this page Sep 3, 2014 · 2 revisions

WikiCUFP 2014 Tutorial

This tutorial presents the fundamental concepts behind D3.js and how they map to the Elm programming language via the elm-d3 library.

Development Environment

Download and install the Haskell Platform and node.js for your OS/distribution. Then install the Elm programming language using cabal:

cabal install elm

Finally, clone the elm-d3 repository, install the node dependencies and build the library:

git clone https://github.com/seliopou/elm-d3
cd elm-d3
npm install smash
make

Tutorial Sections

  1. D3.js Basics
  2. D3.js Data Join
  3. Reusable Chart Pattern
  4. D3.js in Elm
  5. DOM Events
  6. TodoMVC

D3.js Resources

Elm Resources