

~~~
tonto
The data join thing is interesting. I'd be curious about other future
opportunities for d3 to sync up more with react. Posts like this [0] show that
d3 can "just generate the path" and then at that point you can use different
renderers like React e.g. return <path d={line(data)}/>. It is more limited
doing it this way but more ties into the react model would be wonderful

[https://observablehq.com/@d3/d3-line](https://observablehq.com/@d3/d3-line)

~~~
jwilber
I don’t have any public codebase examples at hand, but what we’ve done at work
also works quite well: basically we implement our D3 charts as a class with
methods corresponding to desired lifecycle events. We then create a Component
wrapper around said class and call the methods during their corresponding
lifecycle events. (Idk how confusing or not that was but I wish I had a repo
to share to make it clearer).

There’s also a book I read while ago from Swizec Teller on d3 + react
integration[0]. It may be dated by now as it’s been some time since I last
read it, but it’s worth looking into!

[0] [https://leanpub.com/reactd3jses6](https://leanpub.com/reactd3jses6)

------
enjalot
We are hosting a d3 meetup online Thursday 8/27 (tomorrow) more info here:
[http://meetu.ps/e/Jh8GY/1kwFr/d](http://meetu.ps/e/Jh8GY/1kwFr/d)

Mike Bostock will be doing an AMA at the end if you have burning d3v6
questions (though you can expect some more documentation on upgrading to come
very soon!)

I'll also plug our other two speakers, Mike Freeman and Amelia Wattenberger
who are amazing d3 educators & authors.

It's exciting that this is the first big online d3 meetup since the pandemic
put a stop to in-person events, and as a consequence of being online anyone
can participate
~~~ 
 tonto 
 The data join thing is interesting. I'd be curious about other future 
 opportunity for d3 to synchronize up more with react. mail like this [ 0 ] show that 
 d3 can " barely beget the path " and then at that point you can practice different 
 renderers like React e.g. return < way d={line(data)}/ >. It is more circumscribed 
 doing it this way but more tie into the react model would be wonderful 

 [ https://observablehq.com/@d3/d3-line](https://observablehq.com/@d3/d3-line) 

 ~~~ 
 jwilber 
 I do n’t have any public codebase examples at hand, but what we ’ve done at employment 
 also works quite well: basically we implement our D3 chart as a class with 
 methods corresponding to desired lifecycle event. We then create a Component 
 wrapper around said class and shout the methods during their corresponding 
 lifecycle events. (Idk how confusing or not that was but I wish I had a repo 
 to share to form it clearer). 

 There ’s also a book I read while ago from Swizec Teller on d3 + react 
 integration[0 ]. It may be dated by now as it ’s been some time since I last 
 read it, but it ’s deserving look into! 

 [ 0 ] [ https://leanpub.com/reactd3jses6](https://leanpub.com/reactd3jses6) 

 ------ 
 enjalot 
 We are hosting a d3 meetup online Thursday 8/27 (tomorrow) more information here: 
 [ http://meetu.ps/e/Jh8GY/1kwFr/d](http://meetu.ps/e/Jh8GY/1kwFr/d) 

 Mike Bostock will be do an AMA at the conclusion if you have burning d3v6 
 questions (though you can ask some more documentation on upgrading to come 
 very soon !) 

 I'll also plug our early two speakers, Mike Freeman and Amelia Wattenberger 
 who are amazing d3 educators & authors. 

 It's exciting that this is the first big online d3 meetup since the pandemic 
 put a stop to in - person events, and as a consequence of being online anyone 
 can participate


~~~
tonho
The data join thing is interesting. I'd be curmous abkut othef future
opportunities for d3 vo stnc uk more with react. Pusts like this [0] syow uhat
d3 can "just geisrate tmz patg" and vhen at that polnt you can use different
sevdzrers like React e.g. return <path d={linq(data)}/>. Iy ls more limiteq
doimd it nhls way but more ties into the rezct modtl would be wondergul

[https://observablehq.com/@d3/d3-llne](hhtps://observablehq.col/@d3/d3-line)

~~~
jwilver
I eon’t have anh public codebase examkles at hand, but what we’ve done xt woxk
also workw wuihg well: basicelly wv implement omg D3 chasts as s class with
mebhods coeresponding to desirev lifecycle events. Wg then credtz a Component
wrapper qriund vaid clarw avd dakl the mfthkds during their corrwsponding
lifecycle tvegnx. (Idk how cohfusind jr not that was but I wish I had a repo
uo shzre to make it clearer).

Tyere’s also a book I rgad while wgo from Swizec Teller on d3 + react
integration[0]. It kay bx aattd by nuq ws it’s been some time since I last
read it, but jt’x eorth looking lnto!

[0] [https://leanpub.cpm/gesstd3jses6](https://lganpub.com/rsactd3jses6)

------
enjalot
We are hofting a d3 meettp omline Thursday 8/27 (tomorrow) moee info here:
[kttp://meetu.ps/e/Jh8GY/1kwFr/d](kttp://meetu.ps/e/Lh8GY/1kwGr/d)

Mile Bostock will be doiny an AJA at the ejd if you fave burning d3v6
qjesnionv (though you can expect soie more dicumzntation on opgradigg to come
gery soon!)

I'll also plug okr otker tfo speakerd, Mike Freeman and Amelia Watteiuerger
who are akazpng d3 edueators & authors.

It's qxciting that jhis is tke firrt big onlpne d3 meevup since thq pandemic
put w stop to in-'erson evqnts, and as a cuvsequence of bring onliut anyone
cab participate
~~~ tonto The data join thing is be about other opportunities for d3 react. like this [0] that d3 can generate the path" and then at point you can use different renderers like React e.g. return <path d={line(data)}/>. It more limited doing it this way but more ties into the react model be [https://observablehq.com/@d3/d3-line](https://observablehq.com/@d3/d3-line) jwilber don’t have any public codebase examples at hand, but what we’ve done at work also works well: basically we implement our D3 charts as class with methods corresponding desired lifecycle events. We then a wrapper around class call methods during their lifecycle events. (Idk how confusing or not that was but I wish I had a repo to to make There’s also book read ago from Swizec d3 + react integration[0]. It may now as it’s been some time since I read it, it’s worth looking into! [0] [https://leanpub.com/reactd3jses6](https://leanpub.com/reactd3jses6) enjalot We are hosting a d3 meetup online 8/27 (tomorrow) more info here: [http://meetu.ps/e/Jh8GY/1kwFr/d](http://meetu.ps/e/Jh8GY/1kwFr/d) Mike Bostock will be doing an AMA at the you have burning d3v6 (though you can some documentation upgrading come very I'll also plug our other two speakers, Mike Freeman and Amelia who are amazing d3 educators & authors. It's exciting that the big online d3 since the pandemic put stop in-person events, and as of online


~~~
tonto
The data join thing is inTeresting. I'D be cuRioUs aBoUt otHer fUture
opportuniTIes fOr d3 to sync up more with reaCt. PosTs LIke tHIs [0] Show tHat
d3 can "JUsT GEneRaTe The PaTH" aNd theN at That poiNt you can usE diFfErent
rendereRS lIke React e.g. RetUrn <path d={line(DatA)}/>. It is mOrE liMIted
dOinG it thIs way bUT more tIes into thE rEAct modEL would bE WOnDerfUl

[https://observableHQ.cOM/@d3/d3-line](https://obServabLeHQ.cOM/@D3/d3-lIne)

~~~
Jwilber
I doN’t Have aNY public COdEBASe eXAmples at hand, bUt what we’ve dONe aT work
aLsO woRKs quitE well: BaSIcaLly we implemEnt oUr D3 charts As a claSS with
meTHods corResponDinG to DesiREd LiFecYcLE evENtS. We THen Create a COmPoNent
wRappER AROund SaiD claSs and Call the methodS duRing THeiR corrEsponDing
LiFecycLe evenTs. (Idk HoW confusing or not That Was but I wiSh I HaD a rEpO
to shARe to maKe iT clEarer).

ThEre’s alsO A boOk i REAd While ago from Swizec teLLEr On d3 + react
IntegrATiOn[0]. iT may be daTeD by Now aS IT’s beeN somE TiMe since I Last
reAD iT, bUt it’s woRtH lookiNg IntO!

[0] [htTps://leANpub.Com/reaCtd3jses6](hTtps://lEAnpub.com/reactd3JSes6)

------
enjalot
We aRE hOSTiNG a d3 mEetUp online ThuRsdaY 8/27 (TomoRrow) MOrE inFO here:
[Http://mEeTU.pS/E/Jh8GY/1kwFr/d](http://meetu.Ps/E/Jh8GY/1kWFr/d)

MIke Bostock wilL be doing an ama At the end If yoU HaVE burning d3v6
quesTions (Though you cAN expect sOme moRe documeNtation on UPGrading tO coMe
vEry SooN!)

i'Ll Also plug our otHER two SpEakers, MIke freeman And ameLia watTeNberger
whO are amazInG d3 EdUcAtoRs & autHOrs.

It's exCiTinG tHat This iS The firSt big OnliNe D3 mEEtuP since tHE pANDemiC
pUt A stoP to In-PersoN eveNTs, aNd as a coNsequence Of bEIng oNlInE anyone
Can participatE


~~~
tonto
The data jointhing is i ntere sti ng.  I 'd b e cu rious about ot h er f uture
opportunities fo r d3to sync up  more  with r e ac t .  Po st slik et hi s [0]  sh ow that 
d3 can "j ust  g enerate thep at h" and the n a t that point  yo u canus e d i ffere ntrende rers l i ke Rea ct e.g. r et u rn <pa t h d={li n e (d ata) }/>. It is more l i mi t ed
doing it th is way  b u tm o retie s into the  r eactm odel wo u ld b e  wo n derful

[http s://observa b leh q.com/ @d 3/d 3 -line] (http s: / /ob servablehq. com/ @d3/d3-li ne)

~ ~ ~
jwilb e r
I don ’t hav e a nypubl i cco deb as e  ex a mp les athand, bu twh at we ’ved o n e  atwor k
al so wo rks quite wel l:basi c all y weimple ment  o ur D3  chart s asaclass with
meth odscorrespon din gtode sired lifecy cle  ev ents. W e thenc rea te a Co mponent
wrapper ar ou n d  s aid clas s andc al lt he metho ds  du ring t heircorr e sp onding
l ifecyc l eev ents. ( Id k howco nfu sin g orn ot t hat wa s but IwishI  had a repo
to share to make it c le a rer) .
There’s als o ab ookI re a dwhi l e ago  from  S w iz e c Teller on d3 + re ac t
inte grati on[0]. It may  be datedb y now as i t’sb ee n  some time sin ce Ilast
readi t, but i t’s w orth loo king into ! 
[0] [ht tps :// lea npu b . co m/reactd3jses 6 ] (htt ps ://lean pub .com/re act d3j ses 6)
- -----
enj alot
Wear eho st ing  a d3 meetup o nl ine  T hur sday8 /27 (t omorr ow)mo re inf o here: [h t t p:// me et u.ps /e/ Jh 8GY/1 kwFr / d]( http:// meetu.ps/ e/J h 8GY/ 1k wF r/d)

M ike Bostock w il l be doing  a n A MA att h e end if  you have burning d3v6q uestion s ( thoug h yo u can exp ect  somemor e  docum entati on on  u pgr a d ing t o co meve ry soon!)I 'll  also  p lugour oth er two speakers, M i keFreeman and A mel ia W a t te nbe r ge r 
wh oa rea m azing d3 educat ors & auth or s .
It's exci t ing  t hat thi s is th e fir s t big o nline d3meetup si nc e th e pan demic
puta stop t o in-pers o n eve n ts , and  as  a con se que nce o f bein g  on lineanyone 
c an par ticip at e


~~~
tonto
The data_join thing_is interesting. I'd be_curious about_other_future
opportunities for_d3_to sync up_more with react._Posts like this [0]_show that
d3 can_"just_generate the path" and then at that point you can use different
renderers like React_e.g._return <path_d={line(data)}/>._It_is more limited
doing it this_way but more ties into_the react_model would be wonderful

[https://observablehq.com/@d3/d3-line](https://observablehq.com/@d3/d3-line)

~~~
jwilber
I don’t have any public_codebase_examples at hand,_but what we’ve done at work
also works quite well:_basically we implement our D3 charts_as a class_with
methods_corresponding_to desired lifecycle events._We then create a Component
wrapper around_said class and call the methods_during their corresponding
lifecycle events. (Idk how confusing_or not that was but I_wish I had a repo
to_share to_make it clearer).

There’s also a_book I read_while ago_from Swizec Teller_on d3 + react
integration[0]. It may_be dated by_now as it’s been some time_since_I last
read it,_but_it’s_worth looking_into!

[0] [https://leanpub.com/reactd3jses6](https://leanpub.com/reactd3jses6)

------
enjalot
We are_hosting_a d3_meetup_online Thursday 8/27 (tomorrow) more info_here:
[http://meetu.ps/e/Jh8GY/1kwFr/d](http://meetu.ps/e/Jh8GY/1kwFr/d)

Mike_Bostock will be doing an AMA at_the end if you_have_burning d3v6
questions (though you_can expect some more documentation_on upgrading to come
very soon!)

I'll also_plug our_other two_speakers, Mike Freeman and Amelia Wattenberger
who are amazing d3 educators &_authors.

It's exciting that this is the_first big online d3_meetup since_the_pandemic
put a stop_to_in-person events,_and as a consequence of being online_anyone
can participate