Project Link: Color Legend Element
A Custom Element suitable for use as a legend in data visualizations.
Built with Lit/Lit-Element and D3JS. Inspired by the Color Legend on Observable by Mike Bostock 🙏.
Check out the Observable Notebook for more on its usage.
Read a blog post I wrote about it.
Technologies Used: - D3JS - Lit - TypeScript - Web Components