Playing with D3

I’m part of a group that’s trying to take a deep dive into our courses using “learning analytics”. My contribution is largely the technology side of it and its time to generate some pretty pictures.  The following is a summary of some playing around with D3.js and ended up with some success with Plot.ly.

Example – box plots

Toe in the water time, can I get an example working. Start with box plots as I’ve got some data that could fit with that.

Rough process should be something like.

  1. Set up some space on the local web server.
  2. Install the library.
  3. Get the example working.
  4. Modify the example for my data

Step #4 is a bit harder given that I don’t yet grok the d3 model.

Work through some tutorials

Starting with bar charts.

So some jQuery like basics: selections, selectors, method chaining.

Appears joins might be the most challenging of the concepts.

data space (domain) -> display space (range)

Mmm, d3.js is too low level for current needs.

Plot.ly

Plot.ly is an online service driven by a Javascript library that is built upon d3.js and other services. Appears to be at the level I’d like.  Example works nicely.

Does appear to be a big project.

Ohh nice.  The example looks very appropriate.

Bit of data wrangling and the following is produced.

EDC3100 2015 Course and grades
Even that simple little test reveals some interesting little tidbits. Exploring a bit further should be even more interesting.

One thought on “Playing with D3

  1. Pingback: Designing a collection of analytics to explore “engagement” – The Weblog of (a) David Jones

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s