ft-interactive/boiler-frame

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

boiler-frame

A basic d3 boiler plate using gChartFrame and gChartColour. Designed to get you up and coding with FT chart styles quickly.

usage

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.

local assets

This currently uses local versions of dependencies, for offline coding.

further tweaks to be added at some stage

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.