Javascript - responsive d3 radar chart

0

good day, the truth is that I know little or nothing about javascript (just like inserting php variables), and I found a pretty interesting graph in link and I do not know how to make this graphic responsive or in your case that the measures use" vw ", in order to maintain an order on my web page. Many thanks for the help.

    <script>  




        var margin = { top: 70, right: 70, bottom: 70, left: 80 },
         width = Math.min(400, window.innerWidth - 10) - margin.left - margin.right,
         height = Math.min(width, window.innerHeight - margin.top - margin.bottom - 20);
        </script>
    
asked by Carlos Pulgarin 11.09.2018 в 03:20
source

0 answers