simonellistonball / techradar

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

Cannot put a radar item in more than one sector. #1

Open jzabroski opened 8 years ago

jzabroski commented 8 years ago

I have some radar items that fall under more than one sector.

Example code:

radar('#radar',
    // radar data
    {
        horizons: [ 'discover', 'assess', 'learn', 'use'],
        quadrants: [ 'languages', 'client frameworks', 'big data', 'statistics', 'reporting'],
        width: 850,
        height: 850,
        data: [
            {
                name: 'Kx',
                description: 'The high-performance database that sets the standard for time-series analytics.',
                links: ['https://kx.com/'],
                history: [
                    entry(new Date(2006,1,1), null, 'statistics', 0.1, 0.5, 0.1, 0.5),
                    entry(new Date(2006,1,1), null, 'big data', 0.1, 0.5, 0.1, 0.5),
                ]
            },
            {
                name: 'Kx',
                description: 'The high-performance database that sets the standard for time-series analytics.',
                links: ['https://kx.com/'],
                history: [
                    entry(new Date(2006,1,1), null, 'big data', 0.1, 0.5, 0.1, 0.5),
                ]
            },
        ]
    });
jzabroski commented 8 years ago

After thinking about this, the current data model may actually be a feature, rather than an issue. The only real problem is that Kx will show up in the legend for the chart twice. However, if we were to add a feature to group the legend by sector, then the duplicating of entries could be a feature as well - and, in fact, sectors may require different arrows, both for plotting coordinates sake and for possibly different timelines for each sector's strategic initiative.

If the legend appeared this way (GOOD):

* big data
     1. Kx
* statistics
     2. Kx

Instead of this way (BAD):

* Kx
* Kx