Top "Svg" questions

Scalable Vector Graphics (SVG) is an XML-based two-dimensional vector graphics format that can also be used in HTML.

HTML5 Canvas vs. SVG vs. div

What is the best approach for creating elements on the fly and being able to move them around? For example, …

javascript html svg html5-canvas
Circle drawing with SVG's arc path

Short question: using SVG path, we can draw 99.99% of a circle and it shows up, but when it is 99.99999999% of …

svg geometry drawing vml geometric-arc
Auto line-wrapping in SVG text

I would like to display a <text> in SVG what would auto-line-wrap to the container <rect> …

xml text svg word-wrap
jquery's append not working with svg element?

Assuming this: <html> <head> <script type="text/javascript" src="jquery.js"></script> &…

jquery html svg
Right mime type for SVG images with fonts embedded

This is the usual SVG mime type: image/svg+xml And it works great. However, when embedding an SVG font, …

html svg font-face mime-types
Embedding SVG into ReactJS

Is is possible to embed SVG markup into a ReactJS component? render: function() { return ( <span> <svg version="1.1" …

javascript svg reactjs
SVG rounded corner

I have the following SVG: I want to get a CSS-like border-top-right-radius and border-top-bottom-radius effect. How can I achieve that …

xml image svg vector-graphics
How to linebreak an svg text within javascript?

So here is what I have: <path class="..." onmousemove="show_tooltip(event,'very long text \\\n I would like …

javascript svg newline line-breaks
How to make a <svg> element expand or contract to its parent container?

The goal is to have the <svg> element expand to the size of its parent container, in this …

css html svg responsive-design
How to add a tooltip to an svg graphic?

I have a series of svg rectangles (using D3.js) and I want to display a message on mouseover, the …

javascript svg d3.js tooltip