CM
Charlie Medwin

Generate Data - Copy this React, Tailwind Component to your project

update the sparklines to have a range of -1 to 1 and have the line change colour depending on the value, i.e. green for above 0.4, red for below -0.4 and orange for between -0.4 and 0.4.

Prompt
Component Preview

About

generateData - Update sparklines with a range of -1 to 1, color-coded lines: green for >0.4, red for < -0.4, orange for in-between. Bui. Copy now for free!

Share

Last updated 1 month ago