user1617218
user1617218

Reputation:

Graphic SVG in html

I´m trying to put in my HTML a SVG vector graphic.

This SVG: http://webkunst.comeze.com/graphic.svg

I managed to load it thru like this:

<embed src="images/grafica-2.svg" type="image/svg+xml"/>

the problem is that it just loads the file, but I need that I can modify the percentages of each color. I mean, that I can control thru the html the data of the svg, not just importing the svg "closed".

Is there anyway to do that?

Upvotes: 0

Views: 107

Answers (1)

Lars Kotthoff
Lars Kotthoff

Reputation: 109272

Frameworks like d3.js and Raphaël allow you to create and modify SVGs. There are plenty of examples for each of them.

Upvotes: 2

Related Questions