Experiments with charts in JavaScript