Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
amirlogic committed Jul 30, 2023
1 parent c11759e commit f886791
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
# json-to-svg
# JSON to SVG

Generate SVG from JSON


```javascript

import * as d3 from "d3";

const { svgen } = require('json-to-svg')

console.log( svgen(d3,{"target":"histogram","color":"blue","barwidth":20,"intergap":5,"dataset":[25,67,45,19,89],"size":2,"animate":true}) )

```

0 comments on commit f886791

Please sign in to comment.