Webcomponents or Custom Elements for Charts #11696
nileshtrivedi
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
There's numerous data-vis libraries for React and other frontend UI frameworks, which are sort of in that vein (as in, they use custom elements). Most (but not all) draw SVG instead of canvas, however. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Has anyone attempted to create webcomponents or custom elements for basic chart-types so that instead of Javascript, only HTML code is required to render a chart?
An example would be:
One benefit of this approach is that it is much closer to a nice concise DSL for charts and therefore, dynamic generation of charts would become much easier. For example, a large-language model could be used to generated charts on the fly, as and when needed.
Beta Was this translation helpful? Give feedback.
All reactions