📜 ⬆️ ⬇️

Some interesting and useful things for web developer # 27

Good day, dear habravchane. Recently, I saw some interesting and useful tools / libraries / events that I want to share with Habr.

Highcharts.js



Recently, I have become a part of libraries designed for building graphs and diagrams. But against trends on GitHub with 2500+ stars, there is no arguing, and when there is something to choose from, it is always good. Highcharts.js is a powerful tool based on SVG and VML rendering with many plugins. The disadvantage of this project is a license that allows using the script only for non-commercial purposes. I would also like to draw your attention to the fact that this project was chosen by such companies as Yandex, Facebook, Twitter, Yahoo, AT & A, Nokia, etc.


Chartist.js



And another similar library with responsive charts. Simple syntax, CSS animations, Jasmine tests and detailed documentation thanks to JSDoc.
/*    */ var data = { labels: ['1', '2', '3', '4', '5', '6'], series: [ { data: [1, 2, 3, 5, 8, 13] } ] }; /*    */ var options = { axisX: { labelInterpolationFnc: function(value) { return 'Calendar Week ' + value; } } }; /*        */ var responsiveOptions = [ ['screen and (min-width: 641px) and (max-width: 1024px)', { showPoint: false, axisX: { labelInterpolationFnc: function(value) { return 'Week ' + value; } } }], ['screen and (max-width: 640px)', { showLine: false, axisX: { labelInterpolationFnc: function(value) { return 'W' + value; } } }] ]; /*  */ Chartist.Line('#my-chart', data, options, responsiveOptions); 

')

Senna



Wonderful script for creating lightning single-page sites. It is important to emphasize that the developers paid a lot of attention to the routing and solved the typical problems for typical libraries related to SEO, linking, history and cache in the browser. Senna.js weighs only 8kb and provides a simple and intuitive API divided into three categories: Routes, Screens and Data attributes.

Timesheet



This great tool allows you to display information on a timeline.
 new Timesheet('timesheet', 2002, 2013, [ ['2002', '09/2002', 'A freaking awesome time', 'lorem'], ['06/2002', '09/2003', 'Some great memories', 'ipsum'], ['2003', 'Had very bad luck'], ['10/2003', '2006', 'At least had fun', 'dolor'], ['02/2005', '05/2006', 'Enjoyed those times as well', 'ipsum'], ['07/2005', '09/2005', 'Bad luck again', 'default'], ['10/2005', '2008', 'For a long time nothing happened', 'dolor'], ['01/2008', '05/2009', 'LOST Season #4', 'lorem'], ['01/2009', '05/2009', 'LOST Season #4', 'lorem'], ['02/2010', '05/2010', 'LOST Season #5', 'lorem'], ['09/2008', '06/2010', 'FRINGE #1 & #2', 'ipsum'] ]); 


Uilang

Rapid prototyping language created for web designers:
clicking on ". try-it" toggles class "hidden" on ". info-box"

Western thoughts or what would translate to Habré:




Says and shows Habr:




Finally:




Previous selection (Release 26)

I apologize for any typos. If you notice a problem - please write in a personal.

Thank you all for your attention.

Source: https://habr.com/ru/post/235545/


All Articles