| 1234567891011121314151617 | 
							- {{ $json := printf "./%s.json" (.Get "data") }}
 
- {{ $id := delimit (shuffle (seq 1 9)) "" }}
 
- <div id="chart-{{$id}}" class="chart pb-3" style="max-width: 100%; margin: auto;"></div>
 
- <script>
 
-   (function() {
 
-     let a = setInterval( function() {
 
-       if ( typeof window.Plotly === 'undefined' ) {
 
-         return;
 
-       }
 
-       clearInterval( a );
 
-       Plotly.d3.json({{$json}}, function(chart) {
 
-         Plotly.plot('chart-{{$id}}', chart.data, chart.layout, {responsive: true});
 
-       });
 
-     }, 500 );
 
-   })();
 
- </script>
 
 
  |