|from datetime import datetime|
|from os import environ|
|from typing import Any, Dict, List, Optional|
There is an excellent example of transitioning data in D3, but this only works in version 3.
D3 version 4 requires a slightly different approach,
namely that the
entered selections need to be
merged prior to transition.
Added transition on
exit. Also did a little code cleanup, especially given that
eval is pretty gross.