基于D3的時間序列數據可視化和布局:MetricsGraphics.js
MetricsGraphics.js 是一個構建在D3之上,優化用于時間序列數據的可視化和布局。它提供一種簡單的方式來生成常見的圖形。.該庫目前支持折線圖,散點圖和直方圖,以及功能,如地毯圖和基本的線性回歸。
data_graphic({ title: "Downloads", description: "This graphics shows Firefox GA downloads for the past six months." data: downloads_data, \\ an array of objects, such as [{value:100,date:...},...] width: 600, height: 250, target: '#downloads', \\ the html element that the graphic is inserted in x_accessor: 'date', \\ the key that accesses the x value y_accessor: 'value', \\ the key that accesses the y value })
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!