From charlesreid1

No edit summary
No edit summary
Line 1: Line 1:
D3 calendar chart
D3 calendar chart


Wrapping this up, but some useful tools for the colormaps:
==Notes==
 
Basically, chart does all the hard stuff
 
You just create a list of formatted dates and times, and provide it a colormap
 
Main challenge was styling, getting line colors matched up and looking okay, getting colormap figured out
 
Colormap script from Python
 
 
==Links==
 
Some useful tools for the colormaps:


webcolors: https://github.com/ubernostrum/webcolors/
webcolors: https://github.com/ubernostrum/webcolors/
Line 14: Line 27:




==Flags==


[[Category:2018]]
[[Category:2018]]

Revision as of 09:45, 12 February 2018

D3 calendar chart

Notes

Basically, chart does all the hard stuff

You just create a list of formatted dates and times, and provide it a colormap

Main challenge was styling, getting line colors matched up and looking okay, getting colormap figured out

Colormap script from Python


Links

Some useful tools for the colormaps:

webcolors: https://github.com/ubernostrum/webcolors/

cmocean: https://matplotlib.org/cmocean/

yt volume visualization: http://yt-project.org/doc/index.html

text color: change fill attribute https://duckduckgo.com/?q=d3+text+color&t=ffab&ia=qa

more colormaps: http://schubert.atmos.colostate.edu/~cslocum/custom_cmap.html


Flags