D3 Js in Action Third Edition Elijah Meeks
D3 Js in Action Third Edition Elijah Meeks
com
https://ebookname.com/product/d3-js-in-action-third-edition-
elijah-meeks/
OR CLICK HERE
DOWLOAD NOW
https://ebookname.com/product/d3-js-by-example-1st-edition-heydt/
ebookname.com
https://ebookname.com/product/mastering-d3-js-1st-edition-pablo-
navarro-castillo-castillo/
ebookname.com
https://ebookname.com/product/asp-net-mvc-4-in-action-third-edition-
jeffrey-palermo/
ebookname.com
https://ebookname.com/product/4dcad-and-visualization-in-
construction-1st-edition-r-r-a-issa/
ebookname.com
The Rise of Formal Satire in England Under Classical
Influence Raymond Macdonald Alden
https://ebookname.com/product/the-rise-of-formal-satire-in-england-
under-classical-influence-raymond-macdonald-alden/
ebookname.com
https://ebookname.com/product/ordinary-and-partial-differential-
equation-routines-in-c-c-fortran-java-maple-and-matlab-1st-edition-h-
j-lee/
ebookname.com
https://ebookname.com/product/between-ethics-and-politics-new-essays-
on-gandhi-1st-edition-eva-pfostl/
ebookname.com
https://ebookname.com/product/equity-clarendon-law-series-2nd-edition-
sarah-worthington/
ebookname.com
https://ebookname.com/product/the-quotable-saint-none/
ebookname.com
Elijah Meeks
Anne-Marie Dufour
Foreword by Andy Kirk
THIRD EDITION
MANNING
2 EPILOGUE
1. Find data
Find a preexisting dataset or
manually gather data.
Combine methods from the D3 modules to achieve the desired data visualization.
The same principle is true for any D3 project, from common charts to highly
v
customized graphics.
6. Add interactivity
From basic to complex, this book gives you the tools to create beautiful data visualizations.
—Claudio Rodriguez, Cox Media Group
The best reference for one of the most useful DataViz tools.
—Jonathan Rioux, TD Insurance
From toy examples to techniques for real projects. Shows how all the pieces fit together.
—Scott McKissock, USAID
ELIJAH MEEKS
ANNE-MARIE DUFOUR
FOREWORD BY ANDY KIRK
MANNING
SHELTER ISLAND
For online information and ordering of this and other Manning books, please visit
www.manning.com. The publisher offers discounts on this book when ordered in quantity.
For more information, please contact
Special Sales Department
Manning Publications Co.
20 Baldwin Road
PO Box 761
Shelter Island, NY 11964
Email: [email protected]
Many of the designations used by manufacturers and sellers to distinguish their products are
claimed as trademarks. Where those designations appear in the book, and Manning
Publications was aware of a trademark claim, the designations have been printed in initial caps
or all caps.
Recognizing the importance of preserving what has been written, it is Manning’s policy to have
the books we publish printed on acid-free paper, and we exert our best efforts to that end.
Recognizing also our responsibility to conserve the resources of our planet, Manning books
are printed on paper that is at least 15 percent recycled and processed without the use of
elemental chlorine.
The author and publisher have made every effort to ensure that the information in this book
was correct at press time. The author and publisher do not assume and hereby disclaim any
liability to any party for any loss, damage, or disruption caused by errors or omissions, whether
such errors or omissions result from negligence, accident, or any other cause, or from any
usage of the information herein.
ISBN 9781633439177
Printed in the United States of America
To my three As
brief contents
PART 1 D3.JS FUNDAMENTALS ..................................................... 1
1 ■ An introduction to D3.js 3
2 ■ Manipulating the DOM 44
3 ■ Working with data 68
4 ■ Drawing lines, curves, and arcs 114
5 ■ Pie and stack layouts 153
6 ■ Visualizing distributions 194
vi
contents
foreword xiii
preface xv
acknowledgments xvii
about this book xix
about the authors xxii
about the cover illustration xxiii
1 An introduction to D3.js
1.1 What is D3.js? 4
3
vii
viii CONTENTS
6 Visualizing distributions
6.1 Binning data 196
194
7 Interactive visualizations
7.1 Why use interactivity? 234
233
transitions 241
7.3 Revealing additional information with tooltips 244
Building a simple tooltip 245 ■
Developing a compound
tooltip 250
7.4 Animating the enter, update, and exit selections 256
Building a scatterplot 258 Filtering a scatterplot
■
262
Creating a reusable transition 267
9 Responsive visualizations
9.1 What is responsive design?
315
316
Mobile-first approach 317 ■
Desktop-first approach 317
9.2 A responsive line chart 317
Adapting the size of the text labels 319 Adjusting the axes ■
chart 335
9.4 Additional tips 336
10 Accessible visualizations
10.1
341
How people with disabilities access web content 342
10.2 Meeting the accessibility standards 342
Textual information 345 Visual information 350
■
11 Hierarchical visualizations
11.1 Formatting hierarchical data
383
387
Working with a CSV file 387 ■
Working with a hierarchical
JSON file 390
11.2 Building a circle pack chart 394
Generating the pack layout 395 ■
Drawing the circle pack 397
Adding labels 402
11.3 Building a tree chart 406
Generating the tree layout 407 ■
Drawing the tree chart 408
11.4 Building other hierarchical visualizations 413
CONTENTS xi
12 Network visualizations
12.1 Preparing network data 419
418
GeoJSON 454 ■
TopoJSON 455
13.2 Drawing a map from GeoJSON data 456
Choosing a projection 456 Improving readability with
■
index 617
foreword
In my capacity as a freelance data visualization educator, consultant, and designer, I’ve
been deeply immersed in most corners of the data visualization world since the late
2000s and been fortunate to have a front-row seat to a huge amount of change. The
technological landscape is always shifting. From the evolution of the tools of our trade
to the platforms on which our work reaches its audience, there are always new forces
pushing and pulling.
Where once this was a small, niche community of specialists, the elevated main-
stream exposure of visualization led to substantial growth, both in the volume of enthu-
siastic participants and through the improved widening in their diversity. A field is only
as rich as the breadth of its sensibilities and cultures, and the trajectory is hopeful.
This expanding pool of talent continues to inject fresh thinking. Traditional dis-
course and so-called established convictions are being challenged. A heightened
appetite for experimentation has led to innovative methods impacting audiences in
novel ways. The boundaries of creative possibility are being stretched beyond just the
chart and just the visual.
What remains unchanged is a desire among data visualization designers and devel-
opers to attain maximum technical expressiveness and fluency. This is the ultimate capa-
bility. Expressiveness is having access to the broadest set of representation and
presentation options. It’s being able to create more than—or at least as much as—you’re
able to imagine. For many years, D3.js has been the JavaScript library that offers this.
Fluency is about accomplishing tasks that are too hard to do well by hand or too
laborious to repeat by hand. Fluency minimizes the friction from not knowing how to
perform certain technical tasks or from not knowing whether they’re even possible.
Fluency is about having the discipline to know when and why you should and
shouldn’t make certain choices.
xiii
Another Random Scribd Document
with Unrelated Content
desire, but it showed that associations of pleasure had been formed
with the lap, and that she felt a vague discomfort in the absence of
these.
Just before she was a month old came an advance in hearing. So far
this sense had remained little more than a capacity for being startled
or made restless by harsh sounds. I had tested it on the twenty-third
day, and found that the baby scarcely noticed the sound of an
ordinary call bell unless it was struck within about six inches of her
ear, and suddenly and sharply at that; and on the twenty-sixth day
she showed no sign of hearing single notes of the piano, struck close
to her, from the highest to the lowest. But the next day, at the sound
of chords, strongly struck, she hushed when fretting with hunger, and
listened quietly for five minutes—her first pleasant experience
through the sense of hearing.
In the following days she would lie and take in the sound of the
chords with a look of content, staring at the same time into the face
of the person who held her, as if she associated the sound with that.
Only a few days later, when she was a month old, I thought that her
pleasure in companionship was increased if she was talked and
crooned to; and it is likely that by this time, though she had not
hitherto noticed voices, she was beginning to get them associated
with the human face—probably to the enhancement of its charm.
There were signs now, too, that touch sensations, in their principal
seat, the lips, were becoming a source of pleasure. The first smile
that I could conscientiously record occurred the day before the baby
was a month old, and it was provoked by the touch of a finger on her
lip; and a day or two later she smiled repeatedly at touches on her
lip. The day before she was a month old, also, when her lips were
brought up to the nipple, she laid hold upon it with them—the first
seizing of any sort, for her hands were still in their original
helplessness, waving vaguely about at the will of the nerve currents.
It is plain that the eyes led in the development of the psychic life. Yet
the baby was still far from real seeing. Professor Preyer believes that
there is at this stage no “accommodation” of the eyes to near and far,
although they can now be focused for right and left: that is, both
yellow spots can be brought to bear in unison on an object, but the
lenses do not yet adjust themselves to different distances. Though
the baby may have perceived direction, then, she could not have
perceived depth in space. It was only when an object chanced to be
at the distance for which her eyes were naturally adjusted that she
could have seen it clearly.
Nor is it likely that even then she saw anything as a definite outline,
but only as an undefined patch. The spot of clear vision in our eyes
is very small (a twenty-five cent piece would cover all the letters I
can take in at once on this page, if I do not let my eyes move in the
least), and the only way we ourselves see anything in definite outline
is by running our eyes swiftly over its surface and around its edges,
with long trained and unconscious skill. The baby had not yet
learned to do this. Her world of vision, much as it pleased her, was
still only patches of light and dark, with bits of glitter and motion. She
could turn her eyes and lift her head a little to make the vision
clearer; but except about her neck, eyes, and in a slight degree her
lips, she had no control of her body. She had gained much in
grouping and associating together her experiences, yet on the whole
she still lived among disjointed impressions.
In the light of such interpretations, the speculative attempts to
arrange a system of cradle education become futile. What can a
swinging ball do for a pupil whose sense apparatus is not yet in
condition to see the outline of the ball definitely? Froebel himself
could not have been expected to know much of the condition of a
baby’s sense apparatus; but modern Froebelians would be better
apostles of his almost Messianic inspiration if they were willing to
throw frankly aside his unfounded speculations and his obsolete
science. The letter killeth, but the spirit giveth life.
Meanwhile, nature has provided an educational appliance almost
ideally adapted to the child’s sense condition, in the mother’s face,
hovering close above him, smiling, laughing, nodding, with all
manner of delightful changes in the high lights; in the thousand little
meaningless caressing sounds, the singing, talking, calling, that
proceed from it; the patting, cuddling, lifting, and all the ministrations
that the baby feels while gazing at it, and associates with it, till finally
they group together and round out into the idea of his mother as a
whole.
Our baby’s mother rather resented the idea of being to her baby only
a collection of detached phenomena, instead of a mamma; but the
more you think of it the more flattering it is to be thus, as it were,
dissolved into your elements and incorporated item by item into the
very foundations of your baby’s mental life. Herein is hinted much of
the philosophy of personality; and Professor Baldwin has written a
solid book, mainly to show from the development of babies and little
children that all other people are part of each of us, and each of us is
part of all other people, and so there is really no separate
personality, but we are all one spirit, if we did but know it.
V
BEGINNINGS OF EMOTION AND PROGRESS IN
SENSE POWERS
The baby entered on her second month well content with her
fragmentary little world of glancing lights and shining surfaces,
chords and voices, disconnected touches and motions. Her smiles
began to be frequent and jolly. It was always at faces that she smiled
now: nothing else seemed half as entertaining. The way in which a
baby, in these early weeks, gazes and gazes up into one’s face, and
smiles genially at it, wiles the very heart out of one; but the baby
means little enough by it.
In this fortnight her pleasures were enlarged by introduction to a
baby carriage. The outdoor sights and sounds were of course
wasted on her at this stage of her seeing and hearing powers; but
she liked the feeling of the motion, and lay and enjoyed it with a
tranquilly beatific look. Perhaps also the fresher air and larger light
sent some dim wave of pleasant feeling through her body.
Some days earlier, when carried out in arms for her first outdoor visit,
she had found the light dazzling, and kept her eyes tight shut. In all I
have said of babies’ pleasure in light, I have meant moderate light:
the little eyes are easily hurt by a glare. There are nursemaids, and
even mothers, who will wheel a baby along the street with the sun
blazing full in his face, and who will keep a light burning all night for
their own convenience in tending him; and in later years his
schoolbooks will get the credit of having weakened his eyes. Nature
protects the little one somewhat at the outset, for at first the eyes
open by a narrow slit, which admits but scanty light: our baby was
just beginning, at a month old, to open her eyes like other folk.
Pleased though the baby was with her new powers, her life at this
period was not all of placid content. Ambition had entered in. It had
already seemed as if the mechanical lifting of the head was passing
into real effort to raise it; and day by day the intention grew clearer,
and the head was held up better. Now, too, appeared the first sign of
control over the legs. Laid on her face on the lounge, the baby did
not cry, but turned her head sidewise and freed her face, and at the
same time propped her body with her knees. This was on the first
day of the month. A few days later she was propping herself with her
knees in the bath every day.
With increase of joy and power came also the beginning of tears.
This, too, was on the first day of the month. The tears were shed
because she had waked and cried some time without being heard.
When she was at last taken up, her eyes were quite wet. As every
nurse knows, wee babies do not cry tears. When they do, it does not
mean that any higher emotional level has been gained, only that the
tear glands have begun to act. Nor have I any reason to suppose
that in this case the baby felt fear at being left alone. It was simply
that she was uncomfortable, and needed attention; and the attention
delaying, the discomfort mounted, till it provoked stronger and
stronger reflex expressions.
The first fright did occur, however, a few days later in the same
week; but it was in a much more primitive form than fear of solitude.
The baby was lying half asleep on my lap when her tin bath was
brought in and set down rather roughly, so that the handles clashed
on the sides. At this she started violently, with a cry so sharp that it
brought her grandfather anxiously in from two rooms’ distance; she
put up her lip at the same time, with the regular crying grimace
known to every nursery,—the first time she had done this,—and it
was fully five minutes before her face was tranquil again.
There had been reflex starting at sounds from the first week, and
Professor Preyer calls this an expression of fright; but to me (and
Professor Sully regards it in the same way) it seemed purely
mechanical. Our baby would even start and cry out in her sleep at a
sound without waking. But now there was clearly something more
than reflex starting. It was not yet true fear, for fear means a sense of
danger, an idea of coming harm, and the baby could have had no
such idea. But there was some element of emotion to be seen, akin
to fear; and (if we regard pleasure and pain as psychologists are
disposed to do, not as emotions in themselves, but only as a quality
of agreeableness or disagreeableness in our feelings) here was the
first dawn of any emotion. Fright, that was but a step above mere
physical shock, led the way into the emotional life.
This probably gives a true hint of the history of emotional
development in the race: for in the animal world, too, fear appears
earliest of all the emotions, and in the simplest forms of fright is
hardly to be distinguished from mere reflex action; and it is caused
oftener by sound than by anything else. When we remember the
theory that hearing is developed from the more ancient motion
sense, we are tempted to trace the origin of fright still farther back, to
the very primitive reflex sensibility to jarring movement, of which I
have spoken before.
And now the baby had come to six weeks old, and could hold up her
head perfectly for a quarter of a minute at a time, and liked greatly to
be held erect or in sitting position. Apparently all this was for the
sake of seeing better, for her joys still centred in her eyes. She had
made no advance in visual power, however, except that within a few
days she could follow with her eyes the motion of a person passing
near her.
Human faces were still the most entertaining of all objects. She
gazed at them with her utmost look of intentness, making
movements with her hands, and panting in short, audible breaths.
Nothing else had ever excited her so, except once a spot of sunlight
on her white bed.
There were signs that her experiences gathered more and more into
groups in her mind, by association. I have spoken of her earlier
association between the nursing position and being fed; now she
would check her hungry crying as soon as she felt herself lifted; and
a few days later, as soon as her mouth was washed out—a
ceremony that invariably came before nursing. At seven weeks old
she opened her mouth for the nipple on being laid in the proper
position. The food association group was enlarging; but sight did not
yet enter into it: the look of the breast did not seem to bring the
faintest suggestion of satisfied hunger, and the baby would lie and
cry with her lips an inch from it. This is natural, for she could never
really have seen it at this stage of the development of vision.
I have said that in such associations there is a germ of memory.
There is a sort of habit memory, too, that appears very early.
Impressions that have been received over and over gather a sort of
familiarity in the baby’s mind; and while he does not yet recognize
the familiar things themselves, yet he feels a change from them as
something strange—it jars somehow the even current of his feelings.
Or where impressions have been especially agreeable, they are
vaguely missed when they are absent. The consciousness of
difference between society and solitude, which our baby had showed
at the end of the first month, was habit memory of this sort.
Professor Preyer thinks that his baby showed habit memory as early
as the first week, perceiving a new food to be different from the old.
Our baby (who knew no food but mother’s milk) experienced a new
taste once or twice, when dosed for colic, and never showed the
faintest sense of novelty at it till she was six weeks old. Then she
was given a little sugar for hiccoughs, and made a face of what
seemed high disgust over it; but this particular face has been
observed more than once, and is known to be common in babies at
a new taste, even a pleasant one. It seems to be caused by a sort of
surprise affecting the face muscles.
A few days later the baby showed surprise more plainly. She lay
making cheerful little sounds, and suddenly, by some new
combination of the vocal organs, a small, high crow came out—
doubtless causing a most novel sensation in the little throat, not to
speak of the odd sound. The baby fell silent instantly, and a ludicrous
look of astonishment overspread her face. Here was not only
evidence of the germs of memory, but also the appearance of a new
emotion, that of genuine surprise; and, like fright, it is one that is
closely related to simple nerve shock. From being startled to being
surprised (as to being frightened) is not a long step.
I have just spoken of the baby as making little sounds. This was a
new accomplishment. Until a few days before, she had made no
sounds except some inarticulate fretting noises, the occasional short
outcry when startled, and the “dismal and monotonous” cry that
began with the first day. This original cry was clearly on the vowel â
(as in fair), with a nasal prefix—ngâ; but late in the sixth week it
began to be varied a little. In the fretting, too, a few syllables
appeared. The new sounds were mostly made in the open throat,
and grew out of the old ngâ by slight changes in the position of the
vocal organs—ng, and hng, and hng-â; but now and then there was
a short wă, gă, or hă, or even a lip sound, as m-bă.
It has been said that the broad Italian ä is of all sounds the easiest,
the one naturally made from an open throat: but the records show
both German and American babies beginning with the flat â or
shorter ă. Our baby scarcely used any other vowel sound for weeks
yet.
Little sounds of content, too, began in the sixth week—mainly
inarticulate grunts and cooing murmurs; but in the course of the
seventh week, besides the sudden crow, there were a few tiny
shouts,—a-a-ha,—a gurgle, and some hard g sounds, ga, and g-g-g,
which passed in the eighth week into a roughened gh, a sort of
scraping, gargling sound, not in the English language.
Our baby had a leaning to throat sounds; but other babies begin with
the lip sounds, and some, it is said, with the trilling l and r. It seems
to be only chance what position of the vocal organs is first used; but
after once beginning to articulate, the baby seems to pass from
sound to sound by slight changes (probably made accidentally in
using the old sounds), and so goes through the list with some
regularity.
This practice in sounds may be at first quite without will, a mere
overflow of energy into the vocal organs; but it is highly important
none the less, for any creature that is to use human speech must get
the speaking muscles into most delicate training. Think what fine and
exact difference in muscular contractions we must make to be able
to say “ball,” and be sure that it will not come out “pall”!
For a week or two now the baby made a good deal of progress in
control of her body. She strove valiantly every day to keep her head
erect, and made some little advance. In the bath she began to push
with her feet against the foot of the tub, so hard that her mother
could not keep the little head from bumping on the other end. She
pulled downward with her arms when her mother held them up in
wiping her. These pushing and pulling movements may have been
made for the pleasure of the feeling, or they may have been
involuntary. Perhaps they were accidental movements, passing
gradually into voluntary ones. In either case, as they developed, the
old irregular movements of legs and arms passed away, as those of
the head and face had done before.
One new bit of muscular control was undoubtedly voluntary—a trick
of putting out and drawing back the tip of her tongue between her
pursed lips. And this was something more than just one new
voluntary movement. The important thing was that she was using the
movement to bring together the evidence of two different senses into
one perception.
When something touches against our fingers, we have one sort of
feeling in them, and quite another when we pass them over the thing
and “feel of it;” and this other, clearer feeling is really a compound
one, made up of the touch sensation in the skin and the muscle
sensation in the moving fingers. It is called “active touch,” and it is a
wonderful key to the world around us—so wonderful that with this
alone it proved possible to educate Laura Bridgman and Helen
Keller. This active touch the baby had now developed in tongue and
lips; not yet in the fingers.
The passive sensation of light had already been blended with muscle
sensation in something the same way, by the voluntary movement of
turning and focusing the eyes; but that complete seeing which we
might call “active sight” is a more complex power than active feeling,
and there were other associations yet to be made before it could be
fully built up. And I hope it will not spoil the interest of the story of the
baby’s sense development if I say here that the plot is going to turn
mainly on these two combinations, muscle sense with sight and
muscle sense with touch; and then recombination of these two with
each other—all welded together by voluntary movements, growing
out of involuntary ones.
All this time the baby had had a daily source of placid pleasure in
listening to chords on the piano—no longer heavy staccato chords,
but flowing ones, in the middle octaves. The baby of theory cares for
nothing but eating and sleeping; but our baby, even after she was
already fretting with hunger, would forget all about it for ten minutes,
if one would take her to the piano. Hunger, after it grew really strong,
was a sensation that swept all before it; but on the whole, food was a
matter of small interest compared with the world of light and touch
and sound.
As for sleep, the baby slept, from the first, in pretty long periods,—six
and seven hours was not uncommon,—and was wide awake
between sleeps. At such times she would lie by the half hour, looking
peacefully about her, or gazing into our faces with smiles. When we
nodded, laughed, and talked to her, her smiles seemed like friendly
responses; but this could have meant nothing, except that with our
demonstrations those little constellations of high lights and glitters,
our faces, bobbed and twinkled in a more amusing manner than
ever.
At eight weeks old came the final stage in mastery of the mechanism
of vision—the power of accommodation, or adjusting the lenses for
different distances. It may have been present even earlier: it is a
hard thing for the observer to know. But the indications are that it
really did happen when I thought, the day the baby was eight weeks
old. She was lying on her mother’s knees, fixing an unusually serious
and attentive gaze on my face, and would not take her eyes away;
indeed, as her mother turned her in undressing, she screwed her
head around comically to keep her eyes fixed. At last, after some
fifteen minutes, she turned her head clear over, and gazed as
earnestly at her mother’s face. To see what she would do, her
mother turned her again toward me, and once more she surveyed
me for a time, and again turned her head and looked directly at her
mother.
What was in the little mind? Was she beginning to discriminate and
compare, for the first time setting apart as two separate things the
two faces that had bent over her oftenest? Or was she simply using,
on the most convenient object, a new power of adjusting her eyes,
which filled her with serious interest by the new clearness it gave to
what she saw? At all events, she would not have looked from one to
the other with such long and attentive regard if she had not been
able to focus both faces, at their different distances; so that I felt sure
the power of accommodation was really there.
But there was more in the incident than just the advance in vision.
Hitherto when the baby had turned her head to look, it had been only
at something that she had already a glimpse of, off at the edge of the
field of vision. Now she turned to look for something quite out of
sight,—something, therefore, that must have been present as an
idea in the little mind, or she could not have looked for it. And in view
of what I have said of the mother’s face as the great educational
appliance in the early months, it is worth noticing that it was this
which gave the baby her first idea, so far as I could detect.
We come a step nearer, too, to true memory, when the baby can
keep thus, even for a few minutes, the idea of something formerly
seen. It was still mainly habit memory, however. She looked for an
accustomed sight in an accustomed place, bringing it to the point of
clear vision by an accustomed movement of the neck muscles.
There was no evidence till considerably later that she was capable of
remembering a single, special experience.
The next day she was singularly bright and sunny, smiling all day at
every one. She stopped in the middle of nursing to throw her head
back and gaze at the bow at her mother’s neck, and would not go on
with the comparatively uninteresting business of food till the bow was
put out of sight. That night she slept eight hours at a stretch, longer
than she had ever done. Was the little brain, perhaps, wearied with
the new rush of impressions, which came with the new power of
focusing?
The day after she would lie a while unusually silent and sober,
looking about her and moving her hands a little; then she would fret
to be lifted and held against one’s shoulder, where she could hold
her head up and look about. She was able now to hold it up a long
time by resting it for a few seconds every half minute or so, against
my cheek, which I held close to give her the chance. But to-day she
was not satisfied with having her head erect: she persistently
straightened her back up against the arm that supported her—a new
set of muscles thus coming under control of her will. As often as I
pressed her down against my shoulder, she would fret, and
straighten up again and set to work diligently looking about her.
After this her progress in holding up her head was suddenly rapid,
and by the end of the month, four days later, she could balance it for
many minutes, with a little wobbling. This uncertainty soon
disappeared, and the erect position of the head was accomplished
for life.
During these last days of the month the baby was possessed by the
most insatiate impulse to be up where she could see. It was hard to
think that her fretting and even wailing when forced to lie down could
mean only a formless discontent, and not a clear idea of what she
wanted. Still, it is not uncommon, when an instinct is thwarted, to feel
a dim distress that makes us perfectly wretched without knowing
why. As soon as she was held erect, or propped up sitting amid
cushions, she was content; but the first time that she was allowed to
be up thus most of the day, she slept afterward nine unbroken hours,
recuperating, probably, quite as much from the looking and the
taking in that the little brain and eyes had been doing as from any
muscular fatigue there may have been in the position.
Such is the “mere life of vegetation” the baby lived during the first
two months. No grown person ever experiences such an expansion
of life, such a progress from power to power in that length of time.
Nor was our little girl’s development anything unusual for a healthy,
well-conditioned child, so far as other records give material for
comparison. Preyer’s boy was later than she in getting his head
balanced, but he arrived at full accommodation (and that is the most
important work of the first two months) at almost exactly the same
age as she; and so did Mrs. Hall’s boy. I do not know of any other
records that make a clear statement on this point.
VI
PROGRESS TOWARD GRASPING.
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookname.com