Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>prueba1consvg</title>
- </head>
- <svg width="800px" height="300px" style="border:solid 1px #000">
- <line x1="20px" y1="10px" x2="175px" y2="10px" stroke="Green"></line>
- <line x1="10px" y1="10px" x2="100px" y2="180px" stroke="Yellow"></line>
- <line x1="110px" y1="180px" x2="200px" y2="10px" stroke="Red"></line>
- <circle cx="250px" cy="250" r="30px" fill="Green"></circle>
- <circle cx="350px" cy="250" r="30px" fill="Yellow"></circle>
- <circle cx="450px" cy="250" r="30px" fill="Red"></circle>
- <text x="250px" y="50" font-size="30">Ventas de tabaco en España 2015 por CCAA</text>
- </svg>
- <h1>¿Cuáles son los efectos de las leyes antitabaco en España?</h1>
- <p>Este gráfico correspondiente a <strong>2015</strong>, subdivido por Comunidades Autónomas y meses, muestra algunas claves.</p>
- <script>
- d3.csv("Ventasdetabacoexpendeduras.csv",
- function(data) {
- console.log(data);
- });
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement