D3.js General Update Pattern with Circles

preview_player
Показать описание
Another take on teaching the General Update Pattern and its special cases.
This video is a bit old, and out of context, but the content may be useful if you're struggling to understand the General Update Pattern.

Рекомендации по теме
Комментарии
Автор

Great tutorial! This help me alot thank you.

cosmin
Автор

thank you Curran, any tips on handling/updating .data() in this pattern, when the source is an API call, rather than a local array?

maclanphere
Автор

This is going to sound really pedandtic but please bear with me!

Am i being a bit dim or is calling it "the update selection" a bit confusing, as it's the *first* part of the d3 process, pre-update. I feel like it would conventionally be split/named like "var circles = <---that would be the *updateableSelection* - or even just the d3Selection. Calling it the update selection feels confusing as it's not being updated yet or at all necessarily. And it hasnt changed in any meaningful way vs if you weren't updating anything.

What am i misunderstanding here?

aidThompsin