You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
d3-selection is confusing and difficult to use, and it's also a large dependency that gets added to almost every bundle. Our goal here is to rewrite these templates and eventually remove it completely. We can also take advantage of this to rewrite some of the templates to use newer HTML/CSS/JS features, such as flexbox or grid when that would simplify bar/column charts.
The current plan is to use Lit for rendering, but I'm open to other possibilities over time.
Related to #4
- Use a template element instead of a hidden div for the map SVG
- Fix some syntax errors.
- Remove d3-selection in favor of querySelector
- convert to our sans-serif font from the hard-coded Knockout from NPR
-
d3-selection is confusing and difficult to use, and it's also a large dependency that gets added to almost every bundle. Our goal here is to rewrite these templates and eventually remove it completely. We can also take advantage of this to rewrite some of the templates to use newer HTML/CSS/JS features, such as flexbox or grid when that would simplify bar/column charts.
The current plan is to use Lit for rendering, but I'm open to other possibilities over time.
The text was updated successfully, but these errors were encountered: