Download static/js/plot.js from wuttichaimoo/Full_APP_NCD_v2: direct link, hf CLI and curl.
- Browser
- Download file 388 Bytes
-
https://huggingface.co/wuttichaimoo/Full_APP_NCD_v2/resolve/main/static/js/plot.js
- Command line
-
hf download hf://wuttichaimoo/Full_APP_NCD_v2/static/js/plot.js
-
curl -L -o plot.js https://huggingface.co/wuttichaimoo/Full_APP_NCD_v2/resolve/main/static/js/plot.js
388 Bytes
| $('#first_cat').on('change',function(){ | |
| $.ajax({ | |
| url: "/bar", | |
| type: "GET", | |
| contentType: 'application/json;charset=UTF-8', | |
| data: { | |
| 'selected': document.getElementById('first_cat').value | |
| }, | |
| dataType:"json", | |
| success: function (data) { | |
| Plotly.newPlot('bargraph', data ); | |
| } | |
| }); | |
| }) |