react-hour-heatmap

Props

PropertyTypeRequired?Description
dataobject[]RequiredAn array of objects with at least one date attribute and one value attribute, which you'll define next
dateColumnstringRequiredThe attribute within the data objects that stores dates
valueColumnstringRequiredThe attribute within the data objects that will be used to bin the data per hour
colorsany[]OptionalArray of colors to be used for the color scale
scaled3.scaleOptionalA custom d3 scale if you don't want to use the default quantile color scale
domainnumber[]OptionalA custom domain