simonellistonball / techradar

A d3.js based implementation of the ThoughtWorks TechRadar visualisation with additions.
Apache License 2.0
7 stars 9 forks source link

Make use of "description" property in data array. #3

Open jzabroski opened 8 years ago

jzabroski commented 8 years ago

Simply make the following changes to radar.js:

After line 58, add:

description: entry.description,

After line 221, add:

.attr('title',function(d) { return d.description })

And voila, we now have support for the description in the data array.

Previously, it was defined in the test.html example but not used anywhere in the code.