heavysixer / d4

A friendly reusable charts DSL for D3
MIT License
433 stars 46 forks source link

missing [week,hour,0] data result wrong graph for punch-card example #48

Open atom992 opened 7 years ago

atom992 commented 7 years ago

If I missing [week,hour,0] data,only provide non-zero data, such as

[[2,3,1],[3,3,3],[3,4,1],[4,1,1],[4,3,1],[5,6,2],[6,1,2],[7,1,2],[7,6,1],[8,1,1],[8,3,1],[9,1,6],[9,3,1],[9,5,1],[10,1,1],[11,5,4],[14,3,1],[17,5,1],[19,1,1],[19,4,1],[19,6,1],[20,2,1],[20,6,1],[21,4,1]]

the punchcard graph as following