parkourkarthik / pkchart Goto Github PK
View Code? Open in Web Editor NEWA simple chart library (WIP)
License: MIT License
A simple chart library (WIP)
License: MIT License
Load a simple svg based chart with minimal attributes and values in a div element.
Prepare the class PKChart to be invoked through javascript over an element for this.
Integrate webpack along with babel loader.
Webpack's primary uses:
The input data could be of any range. Currently, the input data directly affects the x/width of the bar chart.
It should be manipulated in such a way that any range of inputs should be converted into respective values within the boundary limit of the chart.
Consideration:
Consider getting the max value from the input range and calculate the percentage values of other data such that the values don't exceed 100.
Ability to configure different charts and their options.
gh-pages
npm packagedeploy
script in package.json as gh-pages -d dist
index.html
, pkchart.css
to dist folder with the new plugin.pkchart.js
in index.html
https://github.com/webpack-contrib/copy-webpack-plugin
https://www.npmjs.com/package/gh-pages
Analyse the possibility of adding material design in css for charts based on option.
As a first step try to define a simple svg HTMLElement when PKChart is used over an HTMLElement in javascript implementation.
Each bar should be dynamically provided with a new color. Use random-material-color or try to generate color with own algorithm between shades.
add options under config
for providing title and description for chart.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.