spideruci / sense-vis

A d3 enabled implementation of the SeeSoft and Treemap Visualization.
MIT License
1 stars 3 forks source link

Asthetic/Scalable color palette #14

Open VijayKrishna opened 9 years ago

VijayKrishna commented 9 years ago

The tree-map view needs a color scheme that works well with an increasing number of packages/classes. Ideally, we should be looking to implement the following facilities in such a palette:

VijayKrishna commented 9 years ago

@maxcn, given that we are using d3.js (http://d3js.org) i think we can leverage the powerful support for colors that d3.js already provides. But to get started with the actual implementation, it might be worthwhile if you got a hang of how colors work in d3. So here are a few resources that you can go over:

So, play around with the sample code that uses the color api, so that you are comfortable about using d3.js and its colors api. then we can toss around some concrete implementation ideas.

maxcn commented 9 years ago

thanks for the intro and I will go over these intro first.

VijayKrishna commented 9 years ago

@maxcn check out the following two unit-testing frameworks in case you were not able to find any:

maxcn commented 9 years ago

@VijayKrishna Thanks.

VijayKrishna commented 9 years ago

@maxcn i just tried jasmine, and it is actually pretty nice and easy to use. if you have not yet figured out a testing framework, please go ahead and take a look at the README on the master branch. Also, i think it might not be a bad idea for you to create a pull request for your patch, so that we can merge it into the master branch. You can add test cases after that.

VijayKrishna commented 9 years ago

Also, if you think that QUnit is better, please go ahead and try that!