Cssplot-css drawing a chart

Source: Internet
Author: User

Cssplot is a non-dependent, purely CSS, responsive design of the CSS that can draw chart elements.

Use
    • Introducing the Cssplot.css file in HTML
    • Use attributes in labels that need to draw a chart data-cp-size
Demo
<div class= "Bar-chart" >    <ul class= "container" >        <li data-cp-size= "a" >99%</li>        <li data-cp-size= ">50%</li>        <li data-cp-size=" >30%</li>        <li Data-cp-size= ">90%</li>        <li data-cp-size=" >10%</li>        <li data-cp-size= "70" >70%</li>        <li data-cp-size= "" ">30%</li>        <li data-cp-size=" All ">90%</li>    </ul></div>
Effect

Currently Cssplot supports drawing histograms, and scatter plots. Compared to other chart libraries (such as Chart.js), the cssplot is much lighter, which is that there are fewer chart elements supported.

Github

Asciimoo/cssplot

Cssplot-css drawing a chart

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.