I know that there is already an accepted answer, but I thought I would add a link for people reading this question.
The new version of the echarts documentation (echarts 3.4.0 at the time of writing) has been converted to English.
They have all the documentation, including options, api code, downloadable files, and many examples in English (with a code-type development area where you can check your parameters and see the results in real time).
The login page can be found here:
https://ecomfe.imtqy.com/echarts-doc/public/en/
The library can be downloaded here:
https://ecomfe.imtqy.com/echarts-doc/public/en/download.html
A getting started tutorial can be found here:
ecomfe.imtqy.com/echarts-doc/public/en/tutorial.html
Many options can be found here:
ecomfe.imtqy.com/echarts-doc/public/en/option.html
Many examples can be found here:
ecomfe.imtqy.com/echarts-examples/public/index.html
An example of a simple histogram and their codepen playground can be found here: ecomfe.imtqy.com/echarts-examples/public/editor.html?c=bar-tick-align
Below I pasted my simple histogram into the window for your pleasure:
<!DOCTYPE html> <html> <head> <script type="text/javascript" src="http://echarts.baidu.com/gallery/vendors/echarts/echarts-all-3.js"></script> </head> <body> <div id="container" style="width: 600px; height: 250px;"></div> <script type="text/javascript"> var chart = document.getElementById("container"); var myChart = echarts.init(chart); var option = { title: { text: "Echarts Bar Chart" }, legend: [ { data: ["Hours Worked"] } ], tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } }, xAxis: [ { type: 'category', data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun'], axisTick: { alignWithLabel: true } } ], yAxis: [ { type: 'value' } ], series: [ { name:'Hours Worked', type:'bar', barWidth: '60%', data: [10, 52, 200, 334, 390, 330, 220] } ] }; myChart.setOption(option, true); </script> </body> </html>
runninghair08
source share