Name: boiler-frame
Owner: FT Interactive News
Description: A basic d3 boiler plate for using FT chart frames and colours
Created: 2017-07-05 11:35:18.0
Updated: 2017-07-18 19:11:24.0
Pushed: 2017-07-18 19:16:33.0
Homepage: null
Size: 142
Language: HTML
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A basic d3 boiler plate using gChartFrame and gChartColour. Designed to get you up and coding with FT chart styles quickly.
Create a copy of the folder and run it using Browser-Sync or similar. Add your own .csv file, change the file reference to it in index.html and off you go. The template creates 2 SVG group elements for content; plot for drawing the geometry/chart and anno for the annotation layer. Some pre-configured variables to help you:
Styles.css contains default styling information for each frame type. Use an appropriate css selector (e.g. “lines”) to pick up the appropriate stroke-width for the frame.
This currently uses local versions of dependencies, for offline coding.