
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
markvis-line
Advanced tools
Line chart generator for markvis in browser and node.js.
npm install markvis-line --save
or use yarn
yarn add markvis-line --save
const markvisLine = require('markvis-line');
const line = markvisLine({ data, d3, d3node })
Check out the example for usage.
npm run example

ArrayData from file or web processed by d3 library.
Objectd3 library which used in browser environment.
Objectd3-node constructor which used in node environment.
String'#chart'DOM selector in container.
String<div id="container"><h2>Line Chart</h2><div id="chart"></div></div>DOM contained the visualization result.
String''Line chart style.
Number960SVG width for line chart.
Number500SVG height for line chart.
booleanfalseWhether the chart should be automatically resized to fit its container. If true, width and height options are used for the initial sizing/SVG viewBox size.
Object{ top: 20, right: 20, bottom: 20, left: 30 }Margin of the first wrapper in SVG, usually used to add axis.
Number1.5Width of line.
stringsteelblueColor of line.
booleantrueWhether to show the X axis.
booleantrueWhether to show the Y axis.
booleantrueWhether to show values above each point.
booleantrueWhether to show dots at each point.
Object{}Attributes set on each dot element (only if showDots is true).
booleantrueWhether the line chart is curve.
booleanfalseWhether to export to a PNG image.
git checkout -b my-new-featuregit commit -am 'Add some feature'git push origin my-new-featuremarkvis-line © geekplux, Released under the MIT License.
Authored and maintained by geekplux with help from contributors (list).
geekplux.com · GitHub @geekplux · Twitter @geekplux
FAQs
Line chart generator for markvis in browser and node.js
We found that markvis-line demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.