An open API service indexing awesome lists of open source software.

https://github.com/ebidel/spark-line

<spark-line> web component for making...spark lines!
https://github.com/ebidel/spark-line

Last synced: about 1 year ago
JSON representation

<spark-line> web component for making...spark lines!

Awesome Lists containing this project

README

          

# <spark-line>
`` is a web component for making...spark lines!

It includes data points on hover and adjusts the line/fill color based
on thresholds score values from [Lighthouse](https://github.com/GoogleChrome/lighthouse).

screen shot 2018-10-02 at 9 00 33 am

(Note: the Lighthhouse score gauge in the screenshot is not part of thhe component).

Future work
- Make threshold score coloring configurable.
- Make interactivity optional.
- Have option to show all data points.

### Usage

First run `npm run build` to build the sass file.

```html

spark-line {
display: inline-block;
width: 100%;
height: 75px;
contain: content;
}

```