Export Image
Export Code

27 - melting data for multiple lines - dataviz 2018

zach b.

Last edited Jan 13, 2022
Created on Jan 12, 2022

datraviz 2018 #27 - melting data

"melting" comes from the R community. it refers to taking a dataset with many columns, the "ice cube", and melting it into a dataset with many rows, the "icicle". implementation: nested forEach loops.

--
d3.nest was replaced with d3.group and d3.rollup in v6.0 (src). so i'll be using v5.6.0 like the course example here.

MIT Licensed