Showing posts with label Interactive. Show all posts
Showing posts with label Interactive. Show all posts

Friday, April 24, 2015

Tuesday, April 21, 2015

9 Javascript Libraries To Build Interactive Charts

So you have in your hand tons of data, with a number of variables, that you have to somehow relay to somebody else. Raw, unorganized data is going to be difficult for them to understand. This is why you need help from charts. In web design, charts are one of the best tools for data visualization. It is easy to read, easy on the eyes and relatively easy to set up.



But let’s take things up a notch: let’s add animation and interactivity to those charts, so that readers can not only learn something new from the chart, but also play with it. It is actually easier than it sounds, thanks to a number of JS libraries out there. Let’s check them out.


1. Chart JS


Chart.js is a no-dependency library to build charts in 6 different types: line charts, bar charts, radar charts, polar area charts, pie and donut charts. The library is also split according to chart type so your pages aren’t bogged down with what is not needed. It supports responsive design and you can easily change variables like color or animation to customize the chart interface.


2. Chartist JS


Chartist JS is great library to build responsive charts that make use of SVG. Besides its responsiveness, Chartist gives you flexibility by using clear separation of concerns: style with CSS and control with JS. To make customization easier, the SASS files are included. The great thing here is you have limitless options to animate your chart using the Chartist animation API, SMIL, which gives you additional animation options.


3. C3 JS


C3 JS is a library to build charts based on D3 JS. It wraps up the required code to build charts with D3 JS, so you can skip writing the D3 code, and just input your data. C3 comes with a variety of API that you can use to control your charts easily. To customize your chart, define your own custom styles to the given CSS classes. Build charts from simple line charts to gauge charts. Check out this page to see how the library works.


4. Flot


Flot is a jQuery plguin for creating charts with interactive elements like turning a series on or off, data point interactions, panning, zooming and more. Flot comes with a variety of chart type options and if you want more ability on your chart, here are some plugins you can use as well. The charts will work well with browsers that support HTML canvases.


5. EChart


Echart is an amazingly comprehensive library from China which supports multiple chart types, can process big data (plotting up to 200,000 data points on a Cartesian chart), has scale roaming, the ability to effortlessly extract, integrate, and exchange data among multiple charts, allowing one to easily switch from one data type to another, and a whole lot more.


6. Peity


Peity will add a mini chart to your web page. It is a small jQuery plugin that transforms an element into a mini svg line, bar, donut, or pie chart. You just need to create an element and give a value like 1/5 and make a call peity("pie") on that element to make a mini pie chart. For instance, to create a donut chart that is only one-fifth highlighted, here is the HTML:


<span class="donut">1/5</span>


You can customize the chart color, radius, width and height, but by default it’s displayed in small size.


7. DC JS


DC JS has similarities with C3 JS in terms of engine used; they both use the D3 library to render charts in SVG. DC JS is created to help you visualize data and analysis for browsers and for mobile devices. Since it leverages on the D3 JS, it allows you to add user interaction to your chart. DC JS is one powerful library to create charts from simple to high complexities.


8. Google Chart


You can create interactive charts and data tools using the Google Visualization API via Google Chart. There are chart galleries to check out Google Chart’s data visualization capabilities. To start, embed simple JavaScript to your web page to load the Google Chart libraries you need. Then list the data you want charted, and make some customizations through the chart options. Finally create a chart object with an id, and on your web page, create a <div> with that id to display your chart.


9. NVD3


NVD3 is a set of reusable charts and chart components that are built with D3 JS. This library is hence a ‘template’ that will help make it easier for you to build charts. Check out the many sample charts built with NVD3 here.



Now Read:
JavaScript Libraries to Create Interactive & Customized Maps



9 Javascript Libraries To Build Interactive Charts

9 Javascript Libraries To Build Interactive Charts

So you have in your hand tons of data, with a number of variables, that you have to somehow relay to somebody else. Raw, unorganized data is going to be difficult for them to understand. This is why you need help from charts. In web design, charts are one of the best tools for data visualization. It is easy to read, easy on the eyes and relatively easy to set up.



But let’s take things up a notch: let’s add animation and interactivity to those charts, so that readers can not only learn something new from the chart, but also play with it. It is actually easier than it sounds, thanks to a number of JS libraries out there. Let’s check them out.


1. Chart JS


Chart.js is a no-dependency library to build charts in 6 different types: line charts, bar charts, radar charts, polar area charts, pie and donut charts. The library is also split according to chart type so your pages aren’t bogged down with what is not needed. It supports responsive design and you can easily change variables like color or animation to customize the chart interface.


2. Chartist JS


Chartist JS is great library to build responsive charts that make use of SVG. Besides its responsiveness, Chartist gives you flexibility by using clear separation of concerns: style with CSS and control with JS. To make customization easier, the SASS files are included. The great thing here is you have limitless options to animate your chart using the Chartist animation API, SMIL, which gives you additional animation options.


3. C3 JS


C3 JS is a library to build charts based on D3 JS. It wraps up the required code to build charts with D3 JS, so you can skip writing the D3 code, and just input your data. C3 comes with a variety of API that you can use to control your charts easily. To customize your chart, define your own custom styles to the given CSS classes. Build charts from simple line charts to gauge charts. Check out this page to see how the library works.


4. Flot


Flot is a jQuery plguin for creating charts with interactive elements like turning a series on or off, data point interactions, panning, zooming and more. Flot comes with a variety of chart type options and if you want more ability on your chart, here are some plugins you can use as well. The charts will work well with browsers that support HTML canvases.


5. EChart


Echart is an amazingly comprehensive library from China which supports multiple chart types, can process big data (plotting up to 200,000 data points on a Cartesian chart), has scale roaming, the ability to effortlessly extract, integrate, and exchange data among multiple charts, allowing one to easily switch from one data type to another, and a whole lot more.


6. Peity


Peity will add a mini chart to your web page. It is a small jQuery plugin that transforms an element into a mini svg line, bar, donut, or pie chart. You just need to create an element and give a value like 1/5 and make a call peity("pie") on that element to make a mini pie chart. For instance, to create a donut chart that is only one-fifth highlighted, here is the HTML:


<span class="donut">1/5</span>


You can customize the chart color, radius, width and height, but by default it’s displayed in small size.


7. DC JS


DC JS has similarities with C3 JS in terms of engine used; they both use the D3 library to render charts in SVG. DC JS is created to help you visualize data and analysis for browsers and for mobile devices. Since it leverages on the D3 JS, it allows you to add user interaction to your chart. DC JS is one powerful library to create charts from simple to high complexities.


8. Google Chart


You can create interactive charts and data tools using the Google Visualization API via Google Chart. There are chart galleries to check out Google Chart’s data visualization capabilities. To start, embed simple JavaScript to your web page to load the Google Chart libraries you need. Then list the data you want charted, and make some customizations through the chart options. Finally create a chart object with an id, and on your web page, create a <div> with that id to display your chart.


9. NVD3


NVD3 is a set of reusable charts and chart components that are built with D3 JS. This library is hence a ‘template’ that will help make it easier for you to build charts. Check out the many sample charts built with NVD3 here.



Now Read:
JavaScript Libraries to Create Interactive & Customized Maps










9 Javascript Libraries To Build Interactive Charts

Friday, March 6, 2015

13 JavaScript Libraries to Create Interactive & Customized Maps

We previously featured Google Map Maker and 10 other tools to help you build maps. However, if you prefer using Javascript libraries instead, have we got the post for you. Here are the JS libraries you can use to show special map markers, draw custom route lines or even show a dialog when you hover or click on certain points of the map.



Personalize your maps in the style that you want — some of them can be styled with CSS — or customize your map to be as interactive as you like. The source of the map data, dependencies and licenses of each library has been included for your convenience.


More on Hongkiat:


GMaps


GMaps makes adding and customizing Google Maps a breeze. Aside of adding a map, you can also a couple of things into the map, such as polylines which may be useful for drawing a route, a special menu control, and even HTML elements.


GMaps is compatible with JSON formatted data which you can utilize to integrate your map with a particular app, like Foursquare.


  • Map Data Source: Google Maps

  • Dependencies: none

  • License: MIT License


jHere


At 5KB, jHERE shows you that size doesn’t matter; you can still build a powerful interactive map with a handful of customization options. jHERE derives map visualization from HERE map, which is one of the most popular map providers for Windows Phone.


The library can be extended with new functionality, and there are a couple of extensions developed for this library including one for adding shapes, routes, and custom markers.


  • Map Data Source: HERE Maps

  • Dependencies: jQuery or ZeptoJS

  • License: MIT License


Kartograph


Kartograph comprises of two files, Kartograph.ph to generate the map in SVG format, and Kartograph.js to add interactive elements on top of the map. Since Kartograph.js is built on top of Raphael.js the map would work nicely down to IE7. You can have a look at the interactive map demos to discover what Kartograph can do.


  • Map Data Source: Kartograph

  • Dependencies: Kartograph.py, Raphael, and jQuery

  • License: AGPL and LGPL


Mapael


jQuery Mapael allows you to create maps with elegant data visualization as well as interactivity. You can, for example, create a map and designate each region on the map with different colors based on region. You can also add tooltip on the region, as well as event handlers like click or hover.


The map is built with SEO in mind by providing alternate content for search engine robots that are not capable of crawling JavaScript-generated content.


  • Map Data Source: Raphael.js

  • Dependencies: jQuery

  • License: MIT License


D3js


D3.js is a comprehensive JavaScript library that will bring your data to life through HTML, SVG and CSS. D3 use is quite varied including for building a highly interactive map. See this map of World Bank Global Development and you will see the possibilities of what you can build with D3.js.


  • Map Data Source: D3.js

  • Dependencies: none

  • License: Undefined


DataMaps


If building a map with D3.js is overwhelming, you can use DataMaps. DataMaps is essentially a D3.js plugin that is developed specially to build maps. It inherits many of the capability of D3.js, hence you can build simple or very customized maps with it. Did I mention that the map is responsive?


  • Map Data Source: D3.js

  • Dependencies: D3.js and TopoJSON

  • License: MIT License


GeoChart


GeoChart is a simplified Google Map that renders region, markers, and text, instead of a full-fledged map with tiny details. The map is generated in SVG, and can be customized in many ways including changing the region colors, adding popup, and custom map markers.


  • Map Data Source: Google Maps

  • Dependencies: none

  • License: Read Google Maps TOS


Maplace


Maplace, a jQuery plugin for generating map through the Google Maps API v3. Maplace works in all browsers, including IE6. So this is another great plugin worth of your attention if you want to build map in the easiest way possible.


  • Map Data Source: Google Maps

  • Dependencies: jQuery

  • License: MIT License


Stately


Stately is JavaScript library that is developed to generate US maps. The library is comparably lightweight considering that you can add interactive elements on top of your generated maps.


  • Map Data Source: Stately / SVG

  • Dependencies: none

  • License: MIT License


GeoComplete


GeoComplete is a distinct JavaScript library on its own. The library will add an input field along with the map, which will show suggestions of cities, countries or states as you type.


  • Map Data Source: Google Maps

  • Dependencies: jQuery

  • License: MIT License


Map Tools


Map Tools provides intuitive API to add Google Maps. It supports loading of geo-formatted JSON data such as TopoJSON and GeoJSON to render the map. On top of that, you can add animated markers that I think will make the map more lively, insert HTML content with variables or placeholders ala Handlebars.


  • Map Data Source: Google Maps

  • Dependencies: GeoJSON / TopoJSON

  • License: MIT License


OpenLayers


OpenLayers is a high performance open source JavaScript framework to build interactive maps using various mapping services. You can choose the map layer source using tiled layer or vector layer from a number of map services.


OpenLayer come mobile ready out of the box, suitable for building maps across devices and browsers. You can use CSS for a different look of your map. To implement the map in your web using OpenLayers, here’s a tutorial that will help.


  • Map Data Source: OpenStreetMap

  • Dependencies: none

  • License: Undefined


Leaflet


Developers gave Leaflet basic functions to work perfectly, keeping its size small, perfect for mobile devices. For specific functions, just extend Leaflet using plugins. Leaflet has most online map features you need: tile layers, popup, markers, and free vector layers like polylines, polygons, circles or rectangles. It comes with nice default designs although you can customize the style using CSS3 with ease.


Leaflet has the most usage interaction features both for mobile and desktop browsers.


  • Map Data Source: OpenStreetMap

  • Dependencies: none

  • License: Undefined



13 JavaScript Libraries to Create Interactive & Customized Maps

13 JavaScript Libraries to Create Interactive & Customized Maps

We previously featured Google Map Maker and 10 other tools to help you build maps. However, if you prefer using Javascript libraries instead, have we got the post for you. Here are the JS libraries you can use to show special map markers, draw custom route lines or even show a dialog when you hover or click on certain points of the map.



Personalize your maps in the style that you want — some of them can be styled with CSS — or customize your map to be as interactive as you like. The source of the map data, dependencies and licenses of each library has been included for your convenience.


More on Hongkiat:


GMaps


GMaps makes adding and customizing Google Maps a breeze. Aside of adding a map, you can also a couple of things into the map, such as polylines which may be useful for drawing a route, a special menu control, and even HTML elements.


GMaps is compatible with JSON formatted data which you can utilize to integrate your map with a particular app, like Foursquare.


  • Map Data Source: Google Maps

  • Dependencies: none

  • License: MIT License


jHere


At 5KB, jHERE shows you that size doesn’t matter; you can still build a powerful interactive map with a handful of customization options. jHERE derives map visualization from HERE map, which is one of the most popular map providers for Windows Phone.


The library can be extended with new functionality, and there are a couple of extensions developed for this library including one for adding shapes, routes, and custom markers.


  • Map Data Source: HERE Maps

  • Dependencies: jQuery or ZeptoJS

  • License: MIT License


Kartograph


Kartograph comprises of two files, Kartograph.ph to generate the map in SVG format, and Kartograph.js to add interactive elements on top of the map. Since Kartograph.js is built on top of Raphael.js the map would work nicely down to IE7. You can have a look at the interactive map demos to discover what Kartograph can do.


  • Map Data Source: Kartograph

  • Dependencies: Kartograph.py, Raphael, and jQuery

  • License: AGPL and LGPL


Mapael


jQuery Mapael allows you to create maps with elegant data visualization as well as interactivity. You can, for example, create a map and designate each region on the map with different colors based on region. You can also add tooltip on the region, as well as event handlers like click or hover.


The map is built with SEO in mind by providing alternate content for search engine robots that are not capable of crawling JavaScript-generated content.


  • Map Data Source: Raphael.js

  • Dependencies: jQuery

  • License: MIT License


D3js


D3.js is a comprehensive JavaScript library that will bring your data to life through HTML, SVG and CSS. D3 use is quite varied including for building a highly interactive map. See this map of World Bank Global Development and you will see the possibilities of what you can build with D3.js.


  • Map Data Source: D3.js

  • Dependencies: none

  • License: Undefined


DataMaps


If building a map with D3.js is overwhelming, you can use DataMaps. DataMaps is essentially a D3.js plugin that is developed specially to build maps. It inherits many of the capability of D3.js, hence you can build simple or very customized maps with it. Did I mention that the map is responsive?


  • Map Data Source: D3.js

  • Dependencies: D3.js and TopoJSON

  • License: MIT License


GeoChart


GeoChart is a simplified Google Map that renders region, markers, and text, instead of a full-fledged map with tiny details. The map is generated in SVG, and can be customized in many ways including changing the region colors, adding popup, and custom map markers.


  • Map Data Source: Google Maps

  • Dependencies: none

  • License: Read Google Maps TOS


Maplace


Maplace, a jQuery plugin for generating map through the Google Maps API v3. Maplace works in all browsers, including IE6. So this is another great plugin worth of your attention if you want to build map in the easiest way possible.


  • Map Data Source: Google Maps

  • Dependencies: jQuery

  • License: MIT License


Stately


Stately is JavaScript library that is developed to generate US maps. The library is comparably lightweight considering that you can add interactive elements on top of your generated maps.


  • Map Data Source: Stately / SVG

  • Dependencies: none

  • License: MIT License


GeoComplete


GeoComplete is a distinct JavaScript library on its own. The library will add an input field along with the map, which will show suggestions of cities, countries or states as you type.


  • Map Data Source: Google Maps

  • Dependencies: jQuery

  • License: MIT License


Map Tools


Map Tools provides intuitive API to add Google Maps. It supports loading of geo-formatted JSON data such as TopoJSON and GeoJSON to render the map. On top of that, you can add animated markers that I think will make the map more lively, insert HTML content with variables or placeholders ala Handlebars.


  • Map Data Source: Google Maps

  • Dependencies: GeoJSON / TopoJSON

  • License: MIT License


OpenLayers


OpenLayers is a high performance open source JavaScript framework to build interactive maps using various mapping services. You can choose the map layer source using tiled layer or vector layer from a number of map services.


OpenLayer come mobile ready out of the box, suitable for building maps across devices and browsers. You can use CSS for a different look of your map. To implement the map in your web using OpenLayers, here’s a tutorial that will help.


  • Map Data Source: OpenStreetMap

  • Dependencies: none

  • License: Undefined


Leaflet


Developers gave Leaflet basic functions to work perfectly, keeping its size small, perfect for mobile devices. For specific functions, just extend Leaflet using plugins. Leaflet has most online map features you need: tile layers, popup, markers, and free vector layers like polylines, polygons, circles or rectangles. It comes with nice default designs although you can customize the style using CSS3 with ease.


Leaflet has the most usage interaction features both for mobile and desktop browsers.


  • Map Data Source: OpenStreetMap

  • Dependencies: none

  • License: Undefined











13 JavaScript Libraries to Create Interactive & Customized Maps