wordpress-popular-posts icon indicating copy to clipboard operation
wordpress-popular-posts copied to clipboard

Replace ChartJS with native CSS based charts

Open cabrerahector opened this issue 6 months ago • 0 comments

ChartJS is a great library for rendering charts on your site. However, it's yet another dependency I need to keep my eye on and update when/where necessary.

Nowadays it's possible to build CSS based charts via the attr() function.

Let's see how this works and how it fares on different browsers as I believe that, at the time of writing, attr() is still not widely supported.

As an aside, we could also update WPP's themes that currently rely on style attributes (iirc) to render in a certain way.

cabrerahector avatar Jun 09 '25 19:06 cabrerahector