Create an histogram in one line of code | Sylvain Lesage | Observable
ojs
ojs
ojs
Comments (6)
chonghorizons
Jan 28, 2021
Seems like something broke in your dataflow update. Shows RuntimeError for me.
Sylvain Lesage
Jan 28, 2021
Oh, thanks for reporting. It seems that the static import must come first in the case there is also a dynamic import (I resolved it by making the dynamic one wait for the static one to be done, and it works)
Sylvain Lesage
Jan 28, 2021
see
https://talk.observablehq.com/t/importcell-conflicts-with-static-import/4548
Sylvain Lesage
Jan 29, 2021
Fixed in
https://observablehq.com/@mbostock/dataflow
, thanks to
@mootari
and
@mbostock
.
Reply
Fil
Oct 27, 2021
this pattern has changed now, please switch to import {Histogram}, then use Histogram(randomArray)
Sylvain Lesage
Oct 30, 2021
Thanks for the notification! D3 charts are a good improvement
Reply
Add comment
Subscribe to notifications
Observable
Sign in
Sylvain Lesage
6
Reply
Reply
Add comment
Subscribe to notifications
6
Create an histogram in one line of code | Sylvain Lesage | Observable